RelationshipMetadataBase.RelationshipType Property
Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online
Gets the type of relationship.
Namespace: Microsoft.Xrm.Sdk.Metadata
Assembly: Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)
Syntax
[DataMemberAttribute(Order = 60)]
public RelationshipType RelationshipType { get; internal set; }
<DataMemberAttribute(Order := 60)>
Public Property RelationshipType As RelationshipType
Get
Friend Set
End Property
Property Value
Type: Microsoft.Xrm.Sdk.Metadata.RelationshipType
Type:RelationshipType.
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.
See Also
RelationshipMetadataBase Class
Microsoft.Xrm.Sdk.Metadata Namespace
Return to top
Microsoft Dynamics 365
© 2016 Microsoft. All rights reserved. Copyright