The Migrator type exposes the following members.
Methods
Name | Description | |
---|---|---|
CreateMigrator |
Creates a Migrator to run or preview migrations from the specified source.
| |
CurrentVersion |
Get the current database version number. If no version information exists, it will be created and set to
the default starting version number.
| |
Execute |
Executes the migrations loaded into the Migrator.
| |
Migrate | Overloaded. | |
OnIrreversibleMigrationEncountered |
Raises the IrreversibleMigrationEncountered event.
| |
OnMigrationExecuted |
Raises the MigrationExecuted event.
| |
OnMigrationExecuting |
Raises the MigrationExecuting event.
| |
ValidateDatabase |
Execute checks to ensure the database is in a ready state for migrations to be
executed against it
|