C# Class Serenity.CodeGenerator.SqlSchemaInfo

Mostrar archivo Open project: volkanceylan/Serenity Class Usage Examples

Public Methods

Method Description
GetTableFieldInfos ( IDbConnection connection, string schema, string tableName ) : List
GetTableFieldNames ( IDbConnection connection, string schema, string tableName ) : List
GetTableIdentityFields ( IDbConnection connection, string schema, string tableName ) : List
GetTableNames ( IDbConnection connection ) : List
GetTablePrimaryFields ( IDbConnection connection, string schema, string tableName ) : List
GetTableSingleFieldForeignKeys ( IDbConnection connection, string schema, string tableName ) : List
InformationSchema ( IDbConnection connection ) : string
SqlTypeNameToFieldType ( string sqlTypeName, int size, string &dataType ) : string

Method Details

GetTableFieldInfos() public static method

public static GetTableFieldInfos ( IDbConnection connection, string schema, string tableName ) : List
connection IDbConnection
schema string
tableName string
return List

GetTableFieldNames() public static method

public static GetTableFieldNames ( IDbConnection connection, string schema, string tableName ) : List
connection IDbConnection
schema string
tableName string
return List

GetTableIdentityFields() public static method

public static GetTableIdentityFields ( IDbConnection connection, string schema, string tableName ) : List
connection IDbConnection
schema string
tableName string
return List

GetTableNames() public static method

public static GetTableNames ( IDbConnection connection ) : List
connection IDbConnection
return List

GetTablePrimaryFields() public static method

public static GetTablePrimaryFields ( IDbConnection connection, string schema, string tableName ) : List
connection IDbConnection
schema string
tableName string
return List

GetTableSingleFieldForeignKeys() public static method

public static GetTableSingleFieldForeignKeys ( IDbConnection connection, string schema, string tableName ) : List
connection IDbConnection
schema string
tableName string
return List

InformationSchema() public static method

public static InformationSchema ( IDbConnection connection ) : string
connection IDbConnection
return string

SqlTypeNameToFieldType() public static method

public static SqlTypeNameToFieldType ( string sqlTypeName, int size, string &dataType ) : string
sqlTypeName string
size int
dataType string
return string