Share via


MigratorLoggingDecorator Class

Definition

Decorator to provide logging during migrations operations..

public class MigratorLoggingDecorator : System.Data.Entity.Migrations.Infrastructure.MigratorBase
type MigratorLoggingDecorator = class
    inherit MigratorBase
Public Class MigratorLoggingDecorator
Inherits MigratorBase
Inheritance
MigratorLoggingDecorator

Constructors

MigratorLoggingDecorator(MigratorBase, MigrationsLogger)

Initializes a new instance of the MigratorLoggingDecorator class.

Properties

Configuration

Gets the configuration being used for the migrations process.

(Inherited from MigratorBase)

Methods

GetDatabaseMigrations()

Gets a list of the migrations that have been applied to the database.

(Inherited from MigratorBase)
GetLocalMigrations()

Gets a list of the migrations that are defined in the assembly.

(Inherited from MigratorBase)
GetPendingMigrations()

Gets a list of the pending migrations that have not been applied to the database.

(Inherited from MigratorBase)
Update()

Updates the target database to the latest migration.

(Inherited from MigratorBase)
Update(String)

Updates the target database to a given migration.

(Inherited from MigratorBase)

Applies to