Click or drag to resize

RelationshipInfoRelationshipType Property

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.

Namespace:  SD.LLBLGen.Pro.GeneratorCore
Assembly:  SD.LLBLGen.Pro.GeneratorCore (in SD.LLBLGen.Pro.GeneratorCore.dll) Version: 5.4.0.0 (5.4.0)
Syntax
public EntityRelationshipType RelationshipType { get; }

Property Value

Type: EntityRelationshipType
See Also