Свойство | Type | Description | |
---|---|---|---|
ADD_COLUMN | string | ||
ALTER_COLUMN | string | ||
CREATE_TABLE | string | ||
DROP_COLUMN | string | ||
DROP_TABLE | string | ||
UPDATE_DEFAULTS | string |
Méthode | Description | |
---|---|---|
BuildAddColumnStatement ( string tableName, IColumn column ) : string |
Adds the column.
|
|
BuildAlterColumnStatement ( IColumn column ) : string |
Alters the column.
|
|
BuildCreateTableStatement ( ITable table ) : string |
Builds a CREATE TABLE statement.
|
|
BuildDropColumnStatement ( string tableName, string columnName ) : string |
Removes the column.
|
|
BuildDropTableStatement ( ITable table ) : string |
Builds a DROP TABLE statement.
|
|
ConvertDataTypeToDbType ( DbType dataType ) : DbType | ||
ConvertDataValueForThisProvider ( object input ) : object | ||
GenerateColumnAttributes ( IColumn column ) : string |
Sets the column attributes.
|
|
GenerateColumns ( ITable table ) : string |
Generates the columns.
|
|
GetDbType ( string sqlType ) : DbType | ||
GetNativeType ( DbType dbType ) : string |
Gets the type of the native.
|
|
GetTableFromDB ( IDataProvider provider, string tableName ) : ITable |
Gets an ITable from the DB based on name
|
|
GetTableList ( IDataProvider provider ) : string[] |
Creates a list of table names
|
|
SetColumnDefaults ( IColumn column ) : void |
Méthode | Description | |
---|---|---|
BuildDropTableStatement ( string tableName ) : string |
Builds a DROP TABLE statement.
|
public BuildAddColumnStatement ( string tableName, IColumn column ) : string | ||
tableName | string | Name of the table. |
column | IColumn | The column. |
Résultat | string |
public BuildAlterColumnStatement ( IColumn column ) : string | ||
column | IColumn | The column. |
Résultat | string |
public BuildCreateTableStatement ( ITable table ) : string | ||
table | ITable | |
Résultat | string |
public BuildDropColumnStatement ( string tableName, string columnName ) : string | ||
tableName | string | Name of the table. |
columnName | string | Name of the column. |
Résultat | string |
public BuildDropTableStatement ( ITable table ) : string | ||
table | ITable | |
Résultat | string |
protected BuildDropTableStatement ( string tableName ) : string | ||
tableName | string | Name of the table. |
Résultat | string |
public ConvertDataTypeToDbType ( DbType dataType ) : DbType | ||
dataType | DbType | |
Résultat | DbType |
public ConvertDataValueForThisProvider ( object input ) : object | ||
input | object | |
Résultat | object |
public abstract GenerateColumnAttributes ( IColumn column ) : string | ||
column | IColumn | The column. |
Résultat | string |
public GenerateColumns ( ITable table ) : string | ||
table | ITable | Table containing the columns. |
Résultat | string |
public abstract GetDbType ( string sqlType ) : DbType | ||
sqlType | string | |
Résultat | DbType |
public abstract GetNativeType ( DbType dbType ) : string | ||
dbType | DbType | Type of the db. |
Résultat | string |
public GetTableFromDB ( IDataProvider provider, string tableName ) : ITable | ||
provider | IDataProvider | |
tableName | string | |
Résultat | ITable |
public GetTableList ( IDataProvider provider ) : string[] | ||
provider | IDataProvider | |
Résultat | string[] |
public SetColumnDefaults ( IColumn column ) : void | ||
column | IColumn | |
Résultat | void |