共用方式為


Relationship.PrimaryEntityRole Property

Definition

Gets or sets the entity role: referenced or referencing.

public:
 property Nullable<Microsoft::Xrm::Sdk::EntityRole> PrimaryEntityRole { Nullable<Microsoft::Xrm::Sdk::EntityRole> get(); void set(Nullable<Microsoft::Xrm::Sdk::EntityRole> value); };
[System.Runtime.Serialization.DataMember]
public Microsoft.Xrm.Sdk.EntityRole? PrimaryEntityRole { get; set; }
[<System.Runtime.Serialization.DataMember>]
member this.PrimaryEntityRole : Nullable<Microsoft.Xrm.Sdk.EntityRole> with get, set
Public Property PrimaryEntityRole As Nullable(Of EntityRole)

Property Value

The entity role.

Attributes

Applies to