Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

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.

  NameDescription
Protected methodMigratorBase Initializes a new instance of the MigratorBase class.
Top
  NameDescription
Public propertyConfiguration Gets the configuration being used for the migrations process.
Top
  NameDescription
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.
Top
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.