RelationshipInfo Properties |
The RelationshipInfo type exposes the following members.
Name | Description | |
---|---|---|
CamelCasedNavigator |
Gets the navigator string but now camel cased.
| |
CamelCasedOppositeNavigator |
Gets the opposite navigator string but now camel cased.
| |
ForEntity |
Gets the entity this relationship info is for (the owner of this relationship info)
| |
IsOnPkSide |
Gets a value indicating whether the entity this relationship info is for is on the pk side of Relationship
| |
Navigator |
Gets the navigator.
| |
NavigatorInstance |
Gets the navigator instance for the navigator of the entity this info is for
| |
NavigatorIsHidden |
Gets a value indicating whether the navigator is hidden (empty) (true) or not (false)
| |
NavigatorIsOptional |
Gets a value indicating the element represented by the navigator is optional (true) or not in the context of the owner of the entity of the relationship.
(the start entity).
| |
NavigatorIsSingleEntity |
Gets a value indicating whether the navigator represents a set (true) or a single entity
| |
NormalRelationship |
Gets this.Relationship as NormalRelationshipEdge. If Relationship is not a NormalRelationshipEdge, null is returned.
| |
OppositeNavigator |
Gets the opposite navigator.
| |
OppositeNavigatorIsHidden |
Gets a value indicating whether the opposite navigator is hidden (empty) (true) or not (false)
| |
OppositeNavigatorIsOptional |
Gets a value indicating the element represented by the opposite navigator is optional (true) or not in the context of the owner of the entity of the relationship.
(the start entity).
| |
OppositeNavigatorIsSingleEntity |
Gets or sets a value indicating whether the opposite navigator represents a set (true) or a single entity
| |
OppositeRelationshipType |
Gets the type of the relationship from the related entity 's point of view. So 1:n becomes m:1
| |
RelatedEntity |
Gets the related entity.
| |
Relationship |
Gets the relationship.
| |
RelationshipType |
Gets the type of the relationship as seen from the owner entity's point of view. So if the type of this.Relationship is 1:n and
ForEntity is accessed via the end navigator (so this.ViaStartNavigator is false), this property returns m:1, while this.Relationship.RelationshipType
will return 1:n. This because 1 relationship object is used for both the sides of the relationship: customer 1:n order is equal to order m;1 customer.
| |
UniqueAssociationName |
Gets the name of the unique association.
| |
ViaStartNavigator |
Gets a value indicating whether the owning entity is reached through the start navigator or the end navigator of Relationship
|