RelationshipMetadataBase.RelationshipType Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the type of relationship.
public:
property Microsoft::Xrm::Sdk::Metadata::RelationshipType RelationshipType { Microsoft::Xrm::Sdk::Metadata::RelationshipType get(); };
[System.Runtime.Serialization.DataMember(Order=60)]
public Microsoft.Xrm.Sdk.Metadata.RelationshipType RelationshipType { get; }
[<System.Runtime.Serialization.DataMember(Order=60)>]
member this.RelationshipType : Microsoft.Xrm.Sdk.Metadata.RelationshipType
Public ReadOnly Property RelationshipType As RelationshipType
Property Value
- Attributes
Remarks
This attribute provides a way for a RelationshipQueryExpression to differentiate between ManyToMany relationships and OneToMany relationships.
This value will be set by the system. You should not set this value when you create an entity relationship.