C# Класс SubSonic.DataProviders.MySQL.MySqlSchema

Наследование: SubSonic.SqlGeneration.Schema.ANSISchemaGenerator
Показать файл Открыть проект

Открытые методы

Метод Описание
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

Описание методов

BuildCreateTableStatement() публичный Метод

Builds a CREATE TABLE statement.
public BuildCreateTableStatement ( ITable table ) : string
table ITable
Результат string

GenerateColumnAttributes() публичный Метод

Sets the column attributes.
public GenerateColumnAttributes ( IColumn column ) : string
column IColumn The column.
Результат string

GenerateColumns() публичный Метод

Generates the columns.
public GenerateColumns ( ITable table ) : string
table ITable Table containing the columns.
Результат string

GetDbType() публичный Метод

Gets the type of the db.
public GetDbType ( string mySqlType ) : DbType
mySqlType string Type of my SQL.
Результат DbType

GetNativeType() публичный Метод

Gets the type of the native.
public GetNativeType ( DbType dbType ) : string
dbType DbType Type of the db.
Результат string

MySqlSchema() публичный Метод

public MySqlSchema ( ) : System.Data
Результат System.Data