Class OdfSchemaPrimaryKey
Represents a primary key definition model. 表示主鍵定義模型。
public sealed class OdfSchemaPrimaryKey
- Inheritance
-
OdfSchemaPrimaryKey
- Inherited Members
Constructors
OdfSchemaPrimaryKey(string?, IEnumerable<string>)
Initializes a new instance of the OdfSchemaPrimaryKey class. 初始化 OdfSchemaPrimaryKey 類別的新執行個體。
public OdfSchemaPrimaryKey(string? name, IEnumerable<string> columns)
Parameters
namestringThe primary key constraint name. / 主鍵約束名稱。
columnsIEnumerable<string>The list of column names included in the primary key. / 包含在主鍵中的欄位名稱清單。
Exceptions
Properties
Columns
Gets the list of column names included in the primary key. 取得主鍵所包含的欄位名稱清單。
public List<string> Columns { get; }
Property Value
Name
Gets the primary key constraint name. 取得主鍵約束名稱。
public string? Name { get; }