MigratorBase Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Base class for decorators that wrap the core DbMigrator
[System.Diagnostics.DebuggerStepThrough]
public abstract class MigratorBase
type MigratorBase = class
Public MustInherit Class MigratorBase
- Inheritance
-
MigratorBase
- Derived
- Attributes
Constructors
MigratorBase(MigratorBase) |
Initializes a new instance of the MigratorBase class. |
Properties
Configuration |
Gets the configuration being used for the migrations process. |
Methods
GetDatabaseMigrations() |
Gets a list of the migrations that have been applied to the database. |
GetLocalMigrations() |
Gets a list of the migrations that are defined in the assembly. |
GetPendingMigrations() |
Gets a list of the pending migrations that have not been applied to the database. |
Update() |
Updates the target database to the latest migration. |
Update(String) |
Updates the target database to a given migration. |
Applies to
Entity Framework