TableSchema 类
表
public class TableSchema : Identifier, ITable, ITableView, IInsertTable, IIdentifier, IMatch, IUpdateTable, ISqlEntity
- 继承
-
objectTableSchema
- 实现
- 继承成员
- 扩展方法
-
ShadowSqlServices.ToDelete<TEntity, TParameter>(ITable, Expression<Func<TEntity, TParameter, bool>>)ShadowSqlServices.ToSelect<TEntity, TParameter>(ITable, Expression<Func<TEntity, TParameter, bool>>)
构造函数
TableSchema(string, ColumnSchema[], string)
表
public TableSchema(string tableName, ColumnSchema[] columns, string schema = "")
参数
tableName
string表名
columns
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列名