C# Class SubSonic.DataProviders.SqlServer.Sql2005Schema

Inheritance: SubSonic.SqlGeneration.Schema.ANSISchemaGenerator
ファイルを表示 Open project: rally25rs/SubSonic-3.0

Public Methods

Method Description
BuildCreateTableStatement ( ITable table ) : string
BuildDropColumnStatement ( string tableName, string columnName ) : string

Removes the column.

GenerateColumnAttributes ( IColumn column ) : string

Sets the column attributes.

GetDbType ( string sqlType ) : DbType

Gets the type of the db.

GetNativeType ( DbType dbType ) : string
Sql2005Schema ( ) : System.Data

Method Details

BuildCreateTableStatement() public method

public BuildCreateTableStatement ( ITable table ) : string
table ITable
return string

BuildDropColumnStatement() public method

Removes the column.
public BuildDropColumnStatement ( string tableName, string columnName ) : string
tableName string
columnName string
return string

GenerateColumnAttributes() public method

Sets the column attributes.
public GenerateColumnAttributes ( IColumn column ) : string
column IColumn The column.
return string

GetDbType() public method

Gets the type of the db.
public GetDbType ( string sqlType ) : DbType
sqlType string Type of the SQL.
return DbType

GetNativeType() public method

public GetNativeType ( DbType dbType ) : string
dbType DbType
return string

Sql2005Schema() public method

public Sql2005Schema ( ) : System.Data
return System.Data