EntityRole Enumeration

 

Applies To: Dynamics CRM 2015

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 = "http://schemas.microsoft.com/xrm/2011/Contracts")]
public enum EntityRole
[DataContractAttribute(Name = "EntityRole", Namespace = "http://schemas.microsoft.com/xrm/2011/Contracts")]
public enum class EntityRole
[<DataContractAttribute(Name = "EntityRole", Namespace = "http://schemas.microsoft.com/xrm/2011/Contracts")>]
type EntityRole
<DataContractAttribute(Name := "EntityRole", Namespace := "http://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

© 2016 Microsoft. All rights reserved. Copyright