Export (0) Print
Expand All
Expand Minimize

RelationshipType Enumeration

Applies To: CRM 2015 on-prem, 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:="http://schemas.microsoft.com/xrm/2011/Metadata")> _
Public Enumeration RelationshipType

Member nameDescription
DefaultThe default value. Equivalent to OneToManyRelationship. Value = 0.
ManyToManyRelationshipThe entity relationship is a Many-to-Many relationship. Value = 1.
OneToManyRelationshipThe entity relationship is a One-to-Many relationship. Value = 0.

Development Platforms

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

Target Platforms

Windows Server 2008,Windows Server 2012,Windows 7

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

Community Additions

© 2015 Microsoft