Share via


RelationshipType Enum

Definition

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.

Applies to