Class OdfSchemaTable
Represents a table schema structure model. 表示資料表 Schema 結構模型。
public sealed class OdfSchemaTable
- Inheritance
-
OdfSchemaTable
- Inherited Members
Constructors
OdfSchemaTable(string)
Initializes a new instance of the OdfSchemaTable class. 初始化 OdfSchemaTable 類別的新執行個體。
public OdfSchemaTable(string name)
Parameters
namestringThe table name. / 資料表名稱。
Exceptions
- ArgumentException
When
nameis empty. / 當name為空時擲出。
Properties
Columns
Gets the list of table columns. 取得資料表欄位清單。
public List<OdfSchemaColumn> Columns { get; }
Property Value
ForeignKeys
Gets the list of foreign key relationship definitions of the table. 取得資料表的外鍵關聯定義清單。
public List<OdfSchemaForeignKey> ForeignKeys { get; }
Property Value
Indexes
Gets the list of index definitions of the table. 取得資料表的索引定義清單。
public List<OdfSchemaIndex> Indexes { get; }
Property Value
Name
Gets the table name. 取得資料表名稱。
public string Name { get; }
Property Value
PrimaryKey
Gets or sets the primary key definition of the table. 取得或設定資料表的主鍵定義。
public OdfSchemaPrimaryKey? PrimaryKey { get; set; }