Export (0) Print
Expand All
Expand Minimize

EntityRole Enumeration

Applies To: CRM 2015 on-prem, 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)

[DataContractAttribute(Name="EntityRole", Namespace="http://schemas.microsoft.com/xrm/2011/Contracts")] 
public enum EntityRole

Member nameDescription
ReferencedSpecifies that the entity is the referenced entity. Value = 1.
ReferencingSpecifies that the entity is the referencing entity. Value = 0.

Development Platforms

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

Target Platforms

Windows Server 2008,Windows Server 2012,Windows 7

Send comments about this topic to Microsoft.
© 2014 Microsoft Corporation. All rights reserved.

Community Additions

ADD
Show:
© 2014 Microsoft