Bagikan melalui


AttributeMetadata.IsPrimaryId Property

Definition

Gets whether the attribute represents the unique identifier for the record.

public:
 property Nullable<bool> IsPrimaryId { Nullable<bool> get(); };
[System.Runtime.Serialization.DataMember]
public bool? IsPrimaryId { get; }
[<System.Runtime.Serialization.DataMember>]
member this.IsPrimaryId : Nullable<bool>
Public ReadOnly Property IsPrimaryId As Nullable(Of Boolean)

Property Value

true if the attribute is the unique identifier for the record; otherwise, false.

Attributes

Remarks

Entities that contain an address may have more than one attribute where isPrimaryId is true.

Applies to