TableSchema 类
表
public class TableSchema : Identifier, ITable, ITableView, IInsertTable, IIdentifier, IMatch, IUpdateTable, ISqlEntity
- 继承
-
TableSchema
- 实现
- 继承成员
- 扩展方法
构造函数
TableSchema(string, ColumnSchema[], string)
表
public TableSchema(string name, ColumnSchema[] columns, string schema = "")
参数
name
stringcolumns
ColumnSchema[]schema
string
属性
Columns
字段
public ColumnSchema[] Columns { get; }
属性值
Keys
主键
public ColumnSchema[] Keys { get; }
属性值
Schema
架构
public string Schema { get; }
属性值
方法
GetColumn(string)
查找字段
public ColumnSchema? GetColumn(string columName)
参数
columName
string