C# Class Rsdn.Janus.Mssql.MssqlSchemaLoader

Mostra file Open project: rsdn/janus Class Usage Examples

Public Methods

Method Description
LoadSchema ( string constr ) : DBSchema
TypeDbsmToSql ( TableColumnSchema eColumn ) : string

Private Methods

Method Description
GetDbsmRule ( string rule ) : LinkRule
GetIndexes ( SqlConnection con, TableSchema eTable ) : List
GetKeys ( SqlConnection con, SchemaNamedElement eTable ) : List
GetTables ( SqlConnection con ) : List
TypeSqlToDbsm ( string typeName ) : ColumnType

Method Details

LoadSchema() public static method

public static LoadSchema ( string constr ) : DBSchema
constr string
return DBSchema

TypeDbsmToSql() public static method

public static TypeDbsmToSql ( TableColumnSchema eColumn ) : string
eColumn TableColumnSchema
return string