Method | Description | |
---|---|---|
Column ( String columnName ) : |
Changes the name of foreign key column.
|
|
ForeignKey ( String reference, String foreignKeyTable ) : System |
Initializes a new instance of the ForeignKey class.
|
|
GetColumn ( ) : ECM7.Migrator.Framework.Column |
Gets the column specification.
|
|
Migrate ( ITransformationProvider database ) : void |
Implementation of this method is speicific to operation kind (add foreign key and remove foreign key).
|
|
Named ( String foreignKeyName ) : |
Changes the name of DeleteConstraint.
|
|
NotRequired ( ) : |
Makes foreign key column not required.
|
|
OnDelete ( ECM7.Migrator.Framework.ForeignKeyConstraint foreignKeyConstraint ) : |
Changes the DeleteConstraint behaviour for delete.
|
|
OnUpdate ( ECM7.Migrator.Framework.ForeignKeyConstraint foreignKeyConstraint ) : |
Changes the DeleteConstraint behaviour for delete.
|
|
PrimaryKey ( String columnName ) : |
Changes the name of primary key column.
|
|
Table ( String tableName ) : |
Changes the name of primary key table.
|
|
Type ( DbType foreignKeyColumnType ) : |
Sets the data type of foreign key column.
|
|
WithoutColumn ( ) : |
Avoids foreign key column adding or removing.
|
public Column ( String columnName ) : |
||
columnName | String | Name of foreign key column. |
return |
public ForeignKey ( String reference, String foreignKeyTable ) : System | ||
reference | String | The reference. |
foreignKeyTable | String | The foreign key table. |
return | System |
public GetColumn ( ) : ECM7.Migrator.Framework.Column | ||
return | ECM7.Migrator.Framework.Column |
public Migrate ( ITransformationProvider database ) : void | ||
database | ITransformationProvider | The database. |
return | void |
public Named ( String foreignKeyName ) : |
||
foreignKeyName | String | Name of DeleteConstraint. |
return |
public OnDelete ( ECM7.Migrator.Framework.ForeignKeyConstraint foreignKeyConstraint ) : |
||
foreignKeyConstraint | ECM7.Migrator.Framework.ForeignKeyConstraint | DeleteConstraint behaviour. |
return |
public OnUpdate ( ECM7.Migrator.Framework.ForeignKeyConstraint foreignKeyConstraint ) : |
||
foreignKeyConstraint | ECM7.Migrator.Framework.ForeignKeyConstraint | DeleteConstraint behaviour. |
return |
public PrimaryKey ( String columnName ) : |
||
columnName | String | Name of primary key column. |
return |
public Table ( String tableName ) : |
||
tableName | String | Name of primary key table. |
return |
public Type ( DbType foreignKeyColumnType ) : |
||
foreignKeyColumnType | DbType | Data type of foreign key column. |
return |