System.Data.Entity.Migrations.History Namespace

Classes

HistoryContext

This class is used by Code First Migrations to read and write migration history from the database. To customize the definition of the migrations history table you can derive from this class and override OnModelCreating. Derived instances can either be registered on a per migrations configuration basis using SetHistoryContextFactory(String, Func<DbConnection,String,HistoryContext>), or globally using SetDefaultHistoryContext(Func<DbConnection,String,HistoryContext>).

HistoryRow

This class is used by Code First Migrations to read and write migration history from the database.