RelationshipType Enumeration


Updated: November 29, 2016

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

Specifies the type of entity relationship.

For the Web API use the RelationshipType EnumType.

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

No code example is currently available or this language may not be supported.

Member nameDescription

The default value. Equivalent to OneToManyRelationship. Value = 0.


The entity relationship is a Many-to-Many relationship. Value = 1.


The entity relationship is a One-to-Many relationship. Value = 0.

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright