System.Data.Entity.Migrations Namespace

Classes

DbMigration

Base class for code-based migrations.

Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources (such as the end user of an application). If input is accepted from such sources it should be validated before being passed to these APIs to protect against SQL injection attacks etc.

DbMigrationsConfiguration

Configuration relating to the use of migrations for a given model. You will typically create a configuration class that derives from DbMigrationsConfiguration<TContext> rather than using this class.

DbMigrationsConfiguration<TContext>

Configuration relating to the use of migrations for a given model.

DbMigrator

DbMigrator is used to apply existing migrations to a database. DbMigrator can be used to upgrade and downgrade to any given migration. To scaffold migrations based on changes to your model use MigrationScaffolder

DbSetMigrationsExtensions

A set of extension methods for IDbSet<TEntity>

IDbSetExtensions

A set of extension methods for IDbSet<TEntity>