RelationshipType Enumeration

Applies To: Microsoft Dynamics CRM 2013, Microsoft Dynamics CRM Online

Specifies the type of entity relationship.

Namespace: Microsoft.Xrm.Sdk.Metadata
Assembly: Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)


<DataContractAttribute(Name:="RelationshipType", Namespace:="")> _
Public Enumeration RelationshipType
[DataContractAttribute(Name="RelationshipType", Namespace="")] 
public enum RelationshipType


Member name Description
Default The default value. Equivalent to OneToManyRelationship. Value = 0.
ManyToManyRelationship The entity relationship is a Many-to-Many relationship. Value = 1.
OneToManyRelationship The entity relationship is a One-to-Many relationship. Value = 0.


Development Platforms

Windows Server 2008, Windows Server 2012, Windows 7 (All Versions), Windows 8 (All Versions)

Target Platforms

Windows Server 2008, ,Windows Server 2012, ,Windows 7 (All Versions),

See Also


Microsoft.Xrm.Sdk.Metadata Namespace

Send comments about this topic to Microsoft.
© 2013 Microsoft Corporation. All rights reserved.