EntityMetadata.PrimaryIdAttribute Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the name of the attribute that is the primary id for the entity.
public:
property System::String ^ PrimaryIdAttribute { System::String ^ get(); };
[System.Runtime.Serialization.DataMember]
public string PrimaryIdAttribute { get; }
[<System.Runtime.Serialization.DataMember>]
member this.PrimaryIdAttribute : string
Public ReadOnly Property PrimaryIdAttribute As String
Property Value
The name of the attribute that is the primary id for the entity.
- Attributes
Remarks
The value is usually <entity logical name> + “id”.