Table of Contents

TableSchema 类

命名空间
Shadow.DDL.Schemas
程序集
Shadow.DDL.dll

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 string
columns ColumnSchema[]
schema string

属性

Columns

字段

public ColumnSchema[] Columns { get; }

属性值

ColumnSchema[]

Keys

主键

public ColumnSchema[] Keys { get; }

属性值

ColumnSchema[]

Schema

架构

public string Schema { get; }

属性值

string

方法

GetColumn(string)

查找字段

public ColumnSchema? GetColumn(string columName)

参数

columName string

返回

ColumnSchema