System.Data.Entity.Migrations.History Namespace
The System.Data.Entity.Migrations.History namespace provides classes used by Code First Migrations to read and write migration history from the database.
Class | Description | |
---|---|---|
![]() | 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, or globally using SetDefaultHistoryContext. |
![]() | HistoryRow | This class is used by Code First Migrations to read and write migration history from the database. |