Relationship.PrimaryEntityRole Property

 

Applies To: Dynamics CRM 2015

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; }
public:
[DataMemberAttribute]
property Nullable<EntityRole> PrimaryEntityRole {
    Nullable<EntityRole> get();
    void set(Nullable<EntityRole> value);
}
[<DataMemberAttribute>]
member PrimaryEntityRole : Nullable<EntityRole> with 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

© 2016 Microsoft. All rights reserved. Copyright