Partager via


EntityRole Enum

Definition

Contains values to indicate the role the entity plays in a relationship.

public enum class EntityRole
[System.Runtime.Serialization.DataContract(Name="EntityRole", Namespace="http://schemas.microsoft.com/xrm/2011/Contracts")]
public enum EntityRole
[<System.Runtime.Serialization.DataContract(Name="EntityRole", Namespace="http://schemas.microsoft.com/xrm/2011/Contracts")>]
type EntityRole = 
Public Enum EntityRole
Inheritance
EntityRole
Attributes

Fields

Name Value Description
Referencing 0

Specifies that the entity is the referencing entity. Value = 0.

Referenced 1

Specifies that the entity is the referenced entity. Value = 1.

Applies to

See also