C# Class Framework.Migrator.Fluent.ChangeTable

Provides fluent interface for change table expressions.
Inheritance: Table
Afficher le fichier Open project: coreframework/Core-Framework Class Usage Examples

Méthodes publiques

Méthode 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 méthode

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

ChangeColumn() public méthode

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

ChangeTable() public méthode

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

RemoveColumn() public méthode

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

RemoveForeignKey() public méthode

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