共用方式為


EntityMetadata.CanBePrimaryEntityInRelationship Property

Definition

Gets the property that determines whether the entity can be the referenced entity in a One-to-Many entity relationship.

public:
 property Microsoft::Xrm::Sdk::BooleanManagedProperty ^ CanBePrimaryEntityInRelationship { Microsoft::Xrm::Sdk::BooleanManagedProperty ^ get(); };
[System.Runtime.Serialization.DataMember]
public Microsoft.Xrm.Sdk.BooleanManagedProperty CanBePrimaryEntityInRelationship { get; }
[<System.Runtime.Serialization.DataMember>]
member this.CanBePrimaryEntityInRelationship : Microsoft.Xrm.Sdk.BooleanManagedProperty
Public ReadOnly Property CanBePrimaryEntityInRelationship As BooleanManagedProperty

Property Value

The property that determines whether the entity can be the referenced entity in a One-to-Many entity relationship.

Attributes

Applies to