مشاركة عبر


RelationshipType Enumeration

 

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)

Syntax

[DataContractAttribute(Name = "RelationshipType", Namespace = "https://schemas.microsoft.com/xrm/2011/Metadata")]
public enum RelationshipType
<DataContractAttribute(Name := "RelationshipType", Namespace := "https://schemas.microsoft.com/xrm/2011/Metadata")>
Public Enumeration RelationshipType

Members

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.

See Also

Microsoft.Xrm.Sdk.Metadata Namespace

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright