Kongsi melalui


OneToManyRelationshipMetadata.ReferencedAttribute Property

 

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

Get or set the name of primary attribute for the referenced entity.

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

Syntax

[DataMemberAttribute]
public string ReferencedAttribute { get; set; }
<DataMemberAttribute>
Public Property ReferencedAttribute As String

Property Value

Type: System.String

Type: String
The name of primary attribute for the referenced entity..

Remarks

For example, if Account is the referenced entity the referenced attribute would be accountid.

See Also

OneToManyRelationshipMetadata Class
Microsoft.Xrm.Sdk.Metadata Namespace

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright