Udostępnij za pośrednictwem


EntityMetadata.CanBePrimaryEntityInRelationship Property

 

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

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

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

Syntax

[DataMemberAttribute]
public BooleanManagedProperty CanBePrimaryEntityInRelationship { get; internal set; }
<DataMemberAttribute>
Public Property CanBePrimaryEntityInRelationship As BooleanManagedProperty
    Get
    Friend Set
End Property

Property Value

Type: Microsoft.Xrm.Sdk.BooleanManagedProperty

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

See Also

EntityMetadata Class
Microsoft.Xrm.Sdk.Metadata Namespace
Use managed properties

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright