Share via


MigratorBase Class

Definition

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