RelationshipType Enumeration
Applies To: Microsoft Dynamics CRM 2013, Microsoft Dynamics CRM Online
Specifies the type of entity relationship.
Namespace: Microsoft.Xrm.Sdk.Metadata
Assembly: Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)
Syntax
'Declaration
<DataContractAttribute(Name:="RelationshipType", Namespace:="https://schemas.microsoft.com/xrm/2011/Metadata")> _
Public Enumeration RelationshipType
[DataContractAttribute(Name="RelationshipType", Namespace="https://schemas.microsoft.com/xrm/2011/Metadata")]
public enum 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. |
Platforms
Development Platforms
Windows Server 2008, Windows Server 2012, Windows 7 (All Versions), Windows 8 (All Versions)
Target Platforms
Windows Server 2008, ,Windows Server 2012, ,Windows 7 (All Versions),
See Also
Reference
Microsoft.Xrm.Sdk.Metadata Namespace
Send comments about this topic to Microsoft.
© 2013 Microsoft Corporation. All rights reserved.