RelationshipType Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies the type of entity relationship.
For the Web API use the RelationshipType EnumType.
public enum class RelationshipType
[System.Runtime.Serialization.DataContract(Name="RelationshipType", Namespace="http://schemas.microsoft.com/xrm/2011/Metadata")]
public enum RelationshipType
[<System.Runtime.Serialization.DataContract(Name="RelationshipType", Namespace="http://schemas.microsoft.com/xrm/2011/Metadata")>]
type RelationshipType =
Public Enum RelationshipType
- Inheritance
-
RelationshipType
- Attributes
Fields
Name | Value | Description |
---|---|---|
Default | 0 | The default value. Equivalent to OneToManyRelationship. Value = 0. |
OneToManyRelationship | 0 | The entity relationship is a One-to-Many relationship. Value = 0. |
ManyToManyRelationship | 1 | The entity relationship is a Many-to-Many relationship. Value = 1. |