Del via


Relationship.PrimaryEntityRole Property

 

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

Gets or sets the entity role: referenced or referencing.

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

Syntax

[DataMemberAttribute]
public Nullable<EntityRole> PrimaryEntityRole { get; set; }
<DataMemberAttribute>
Public Property PrimaryEntityRole As Nullable(Of EntityRole)

Property Value

Type: System.Nullable<EntityRole>

Type: Nullable<T><EntityRole>
The entity role.

See Also

Relationship Class
Microsoft.Xrm.Sdk Namespace
Types of entity relationships

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright