RelationshipType Enumeration

 

Applies To: Dynamics CRM 2015

Specifies the type of entity relationship.

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

Syntax

[DataContractAttribute(Name = "RelationshipType", Namespace = "http://schemas.microsoft.com/xrm/2011/Metadata")]
public enum RelationshipType
[DataContractAttribute(Name = "RelationshipType", Namespace = "http://schemas.microsoft.com/xrm/2011/Metadata")]
public enum class RelationshipType
[<DataContractAttribute(Name = "RelationshipType", Namespace = "http://schemas.microsoft.com/xrm/2011/Metadata")>]
type RelationshipType
<DataContractAttribute(Name := "RelationshipType", Namespace := "http://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

© 2016 Microsoft. All rights reserved. Copyright