RelationshipSchemaNameAttribute.PrimaryEntityRole Property

 

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

Gets the entity role for the entity.

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

Syntax

public Nullable<EntityRole> PrimaryEntityRole { get; }
Public ReadOnly Property PrimaryEntityRole As Nullable(Of EntityRole)

Property Value

Type: System.Nullable<EntityRole>

Type: EntityRole
The entity role for the entity.

See Also

RelationshipSchemaNameAttribute Class
Microsoft.Xrm.Sdk Namespace

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright