The Migrator type exposes the following members.

Methods

  NameDescription
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.
MigrateOverloaded.
OnIrreversibleMigrationEncountered
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

See Also