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

MigratorBase Class

Entity Framework 5.0

Base class for decorators that wrap the core DbMigrator.

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

public abstract class MigratorBase

The MigratorBase type exposes the following members.

Protected methodMigratorBase Initializes a new instance of the MigratorBase class.

Public propertyConfiguration Gets the configuration being used for the migrations process.

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.
Public methodGetHashCode (Inherited from Object.)
Public methodGetLocalMigrations Gets a list of the migrations that are defined in the assembly.
Public methodGetPendingMigrations Gets a list of the pending migrations that have not been applied to the database.
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.
Public methodUpdate(String) Updates the target database to a given migration.

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