The Migration type exposes the following members.

Constructors

  NameDescription
Migration
Initializes a new instance of the Migration class.

Methods

  NameDescription
AddColumnOverloaded.
AddForeignKeyColumnOverloaded.
AddKeyTableOverloaded.
AddTableOverloaded.
ChangeColumnOverloaded.
Down
Migrate the database state back.
DropColumnOverloaded.
DropForeignKeyColumn
Remove a column and its associated foreign key.
DropTableOverloaded.
ExecuteNativeCommand
Executes a database native command.
RenameColumnOverloaded.
RenameTable
Rename an existing table to a new name.
Up
Migrate the database state forward.

Properties

  NameDescription
ProviderType
Gets the type of database against which the migration is being run.
Version
The number of this migration, as part of the sequence of all migrations to run

See Also