Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

System.Data.Entity.Migrations Namespace

 

The System.Data.Entity.Migrations namespace contains classes related to code-based migrations and their configurations.

ClassDescription
System_CAPS_pubclassDbMigration

Represents the 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.

System_CAPS_pubclassDbMigrationsConfiguration

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.

System_CAPS_pubclassDbMigrationsConfiguration<TContext>

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

System_CAPS_pubclassDbMigrator

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

System_CAPS_pubclassDbSetMigrationsExtensions

A set of extension methods for IDbSet<TEntity>

System_CAPS_pubclassProjectTypeNotSupportedException

Return to top
Show:
© 2015 Microsoft