C# Class Framework.Migrator.Fluent.ChangeTable

Provides fluent interface for change table expressions.
Inheritance: Table
ファイルを表示 Open project: coreframework/Core-Framework Class Usage Examples

Public Methods

Method Description
AddColumn ( String columnName ) : Column

Adds the column with name specified.

ChangeColumn ( String columnName ) : Column

Changes the column with name specified.

ChangeTable ( String tableName ) : System

Initializes a new instance of the ChangeTable class.

RemoveColumn ( String columnName ) : Column

Removes the column with name specified.

RemoveForeignKey ( String reference ) : ForeignKey

Removes the foreign key with name specified.

Method Details

AddColumn() public method

Adds the column with name specified.
public AddColumn ( String columnName ) : Column
columnName String Name of the column.
return Column

ChangeColumn() public method

Changes the column with name specified.
public ChangeColumn ( String columnName ) : Column
columnName String Name of the column.
return Column

ChangeTable() public method

Initializes a new instance of the ChangeTable class.
public ChangeTable ( String tableName ) : System
tableName String Name of the table.
return System

RemoveColumn() public method

Removes the column with name specified.
public RemoveColumn ( String columnName ) : Column
columnName String Name of the column.
return Column

RemoveForeignKey() public method

Removes the foreign key with name specified.
public RemoveForeignKey ( String reference ) : ForeignKey
reference String Name of the relationship.
return ForeignKey