C# Класс Framework.Migrator.Fluent.ChangeTable

Provides fluent interface for change table expressions.
Наследование: Table
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Описание методов

AddColumn() публичный Метод

Adds the column with name specified.
public AddColumn ( String columnName ) : Column
columnName String Name of the column.
Результат Column

ChangeColumn() публичный Метод

Changes the column with name specified.
public ChangeColumn ( String columnName ) : Column
columnName String Name of the column.
Результат Column

ChangeTable() публичный Метод

Initializes a new instance of the ChangeTable class.
public ChangeTable ( String tableName ) : System
tableName String Name of the table.
Результат System

RemoveColumn() публичный Метод

Removes the column with name specified.
public RemoveColumn ( String columnName ) : Column
columnName String Name of the column.
Результат Column

RemoveForeignKey() публичный Метод

Removes the foreign key with name specified.
public RemoveForeignKey ( String reference ) : ForeignKey
reference String Name of the relationship.
Результат ForeignKey