The Migration type exposes the following members.
Constructors
Methods
| Name | Description | |
|---|---|---|
| AddColumn | Overloaded. | |
| AddForeignKeyColumn | Overloaded. | |
| AddKeyTable | Overloaded. | |
| AddTable | Overloaded. | |
| ChangeColumn | Overloaded. | |
| Down |
Migrate the database state back.
| |
| DropColumn | Overloaded. | |
| DropForeignKeyColumn |
Remove a column and its associated foreign key.
| |
| DropTable | Overloaded. | |
| ExecuteNativeCommand |
Executes a database native command.
| |
| RenameColumn | Overloaded. | |
| RenameTable |
Rename an existing table to a new name.
| |
| Up |
Migrate the database state forward.
|
Properties
| Name | Description | |
|---|---|---|
| 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
|