Поделиться через


OneToManyRelationshipMetadata.ReferencedAttribute Property

 

Applies To: Dynamics CRM 2015

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; }
public:
[DataMemberAttribute]
property String^ ReferencedAttribute {
    String^ get();
    void set(String^ value);
}
[<DataMemberAttribute>]
member ReferencedAttribute : string with 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

© 2016 Microsoft. All rights reserved. Copyright