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)

[DataContractAttribute(Name = "RelationshipType", Namespace = "http://schemas.microsoft.com/xrm/2011/Metadata")]
public enum RelationshipType

Member nameDescription
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.

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright

Community Additions

ADD
Show: