C# Class Serenity.CodeGenerator.SqlSchemaInfo

Afficher le fichier Open project: volkanceylan/Serenity Class Usage Examples

Méthodes publiques

Méthode 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 méthode

public static GetTableFieldInfos ( IDbConnection connection, string schema, string tableName ) : List
connection IDbConnection
schema string
tableName string
Résultat List

GetTableFieldNames() public static méthode

public static GetTableFieldNames ( IDbConnection connection, string schema, string tableName ) : List
connection IDbConnection
schema string
tableName string
Résultat List

GetTableIdentityFields() public static méthode

public static GetTableIdentityFields ( IDbConnection connection, string schema, string tableName ) : List
connection IDbConnection
schema string
tableName string
Résultat List

GetTableNames() public static méthode

public static GetTableNames ( IDbConnection connection ) : List
connection IDbConnection
Résultat List

GetTablePrimaryFields() public static méthode

public static GetTablePrimaryFields ( IDbConnection connection, string schema, string tableName ) : List
connection IDbConnection
schema string
tableName string
Résultat List

GetTableSingleFieldForeignKeys() public static méthode

public static GetTableSingleFieldForeignKeys ( IDbConnection connection, string schema, string tableName ) : List
connection IDbConnection
schema string
tableName string
Résultat List

InformationSchema() public static méthode

public static InformationSchema ( IDbConnection connection ) : string
connection IDbConnection
Résultat string

SqlTypeNameToFieldType() public static méthode

public static SqlTypeNameToFieldType ( string sqlTypeName, int size, string &dataType ) : string
sqlTypeName string
size int
dataType string
Résultat string