Метод | Описание | |
---|---|---|
AddProperty ( ColumnProperty property ) : Column |
Adds column property.
|
|
Bool ( ) : Column |
Sets column type to Bool.
|
|
Column ( DbType columnType, String columnName, String tableName ) : System |
Initializes a new instance of the Column class.
|
|
Column ( String columnColumnColumnName, String tableColumnName ) : System |
Initializes a new instance of the Column class.
|
|
DateTime ( ) : Column |
Sets column type to DateTime.
|
|
Decimal ( ) : Column |
Sets column type to Decimal.
|
|
Default ( Object columnDefaultValue ) : Column |
Sets the column default value.
|
|
Double ( ) : Column |
Sets column type to Double.
|
|
GetColumn ( ) : ECM7.Migrator.Framework.Column |
Gets the column specification.
|
|
Identity ( ) : Column |
Makes the column identity.
|
|
Integer ( ) : Column |
Sets column type to Integer (32 bit integer number).
|
|
Length ( int columnLength ) : Column |
Sets the length for column.
|
|
Long ( ) : Column |
Sets column type to Long (64 bit integer number).
|
|
Migrate ( ITransformationProvider database ) : void |
Implementation of this method is speicific to operation kind (add column, change column, remove column).
|
|
Null ( ) : Column |
Makes the column nullable.
|
|
PrimaryKey ( ) : Column |
Makes the column primary key.
|
|
RemoveProperty ( ColumnProperty property ) : Column |
Removes column property.
|
|
Scale ( int columnScale ) : Column |
Sets the scale for column.
|
|
String ( ) : Column |
Sets column type to String.
|
|
Text ( ) : Column |
Sets column type to Text.
|
|
Type ( DbType columnType ) : Column |
Sets the column type.
|
|
Unique ( ) : Column |
Makes the column unique.
|
Метод | Описание | |
---|---|---|
AddProperty ( ColumnProperty property, bool value ) : void | ||
GetColumnType ( ) : ECM7.Migrator.Framework.ColumnType |
public AddProperty ( ColumnProperty property ) : Column | ||
property | ColumnProperty | The column property. |
Результат | Column |
public Column ( DbType columnType, String columnName, String tableName ) : System | ||
columnType | DbType | Column type. |
columnName | String | Name of the column. |
tableName | String | Name of the table. |
Результат | System |
public Column ( String columnColumnColumnName, String tableColumnName ) : System | ||
columnColumnColumnName | String | Name of the column. |
tableColumnName | String | Name of the table. |
Результат | System |
public Default ( Object columnDefaultValue ) : Column | ||
columnDefaultValue | Object | The column default value. |
Результат | Column |
public GetColumn ( ) : ECM7.Migrator.Framework.Column | ||
Результат | ECM7.Migrator.Framework.Column |
public Length ( int columnLength ) : Column | ||
columnLength | int | Length of the column. |
Результат | Column |
public Migrate ( ITransformationProvider database ) : void | ||
database | ITransformationProvider | The database. |
Результат | void |
public RemoveProperty ( ColumnProperty property ) : Column | ||
property | ColumnProperty | The column property. |
Результат | Column |
public Scale ( int columnScale ) : Column | ||
columnScale | int | Scale of the column. |
Результат | Column |
public Type ( DbType columnType ) : Column | ||
columnType | DbType | Type of the column. |
Результат | Column |