C# Class SubSonic.DataProviders.MySQL.MySqlSchema

Inheritance: SubSonic.SqlGeneration.Schema.ANSISchemaGenerator
Afficher le fichier Open project: rally25rs/SubSonic-3.0

Méthodes publiques

Méthode Description
BuildCreateTableStatement ( ITable table ) : string

Builds a CREATE TABLE statement.

GenerateColumnAttributes ( IColumn column ) : string

Sets the column attributes.

GenerateColumns ( ITable table ) : string

Generates the columns.

GetDbType ( string mySqlType ) : DbType

Gets the type of the db.

GetNativeType ( DbType dbType ) : string

Gets the type of the native.

MySqlSchema ( ) : System.Data

Method Details

BuildCreateTableStatement() public méthode

Builds a CREATE TABLE statement.
public BuildCreateTableStatement ( ITable table ) : string
table ITable
Résultat string

GenerateColumnAttributes() public méthode

Sets the column attributes.
public GenerateColumnAttributes ( IColumn column ) : string
column IColumn The column.
Résultat string

GenerateColumns() public méthode

Generates the columns.
public GenerateColumns ( ITable table ) : string
table ITable Table containing the columns.
Résultat string

GetDbType() public méthode

Gets the type of the db.
public GetDbType ( string mySqlType ) : DbType
mySqlType string Type of my SQL.
Résultat DbType

GetNativeType() public méthode

Gets the type of the native.
public GetNativeType ( DbType dbType ) : string
dbType DbType Type of the db.
Résultat string

MySqlSchema() public méthode

public MySqlSchema ( ) : System.Data
Résultat System.Data