語言

MetaColumn.IsPrimaryKey 屬性

定義

會得到一個值,表示該資料欄位是否屬於資料表的主鍵。

public:
 property bool IsPrimaryKey { bool get(); };
public bool IsPrimaryKey { get; }
member this.IsPrimaryKey : bool
Public ReadOnly Property IsPrimaryKey As Boolean

屬性值

true如果資料欄位是資料表主鍵的一部分;否則,。 false

適用於

另請參閱