Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
MigratorLoggingDecorator Class
Collapse the table of content
Expand the table of content

MigratorLoggingDecorator Class

Entity Framework 5.0

Decorator to provide logging during migrations operations.


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

public class MigratorLoggingDecorator : MigratorBase

The MigratorLoggingDecorator type exposes the following members.

Public methodMigratorLoggingDecorator Initializes a new instance of the MigratorLoggingDecorator class.

Public propertyConfiguration Gets the configuration being used for the migrations process. (Inherited from MigratorBase.)

Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetDatabaseMigrations Gets a list of the migrations that have been applied to the database. (Inherited from MigratorBase.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetLocalMigrations Gets a list of the migrations that are defined in the assembly. (Inherited from MigratorBase.)
Public methodGetPendingMigrations Gets a list of the pending migrations that have not been applied to the database. (Inherited from MigratorBase.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
Public methodUpdate() Updates the target database to the latest migration. (Inherited from MigratorBase.)
Public methodUpdate(String) Updates the target database to a given migration. (Inherited from MigratorBase.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
© 2015 Microsoft