MigratorLoggingDecorator Constructor (MigratorBase, MigrationsLogger)

 

Initializes a new instance of the MigratorLoggingDecorator class.

Namespace:   System.Data.Entity.Migrations.Infrastructure
Assembly:  EntityFramework (in EntityFramework.dll)

public MigratorLoggingDecorator(
	MigratorBase innerMigrator,
	MigrationsLogger logger
)

Parameters

innerMigrator
Type: System.Data.Entity.Migrations.Infrastructure.MigratorBase

The migrator that this decorator is wrapping.

logger
Type: System.Data.Entity.Migrations.Infrastructure.MigrationsLogger

The logger to write messages to.