Share via


EntityRole Enumeration

 

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

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

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

Syntax

[DataContractAttribute(Name = "EntityRole", Namespace = "https://schemas.microsoft.com/xrm/2011/Contracts")]
public enum EntityRole
<DataContractAttribute(Name := "EntityRole", Namespace := "https://schemas.microsoft.com/xrm/2011/Contracts")>
Public Enumeration EntityRole

Members

Member name Description
Referenced

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

Referencing

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

See Also

Relationship
Microsoft.Xrm.Sdk Namespace

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright