Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Collapse the table of content
Expand the table of content

System.Data.Entity.Migrations.Design Namespace


The System.Data.Entity.Migrations.Design namespace provides classes that generate code for code-based migrations.


Generates C# code for a code-based migration.


Base class for providers that generate code for code-based migrations.


Scaffolds code-based migrations to apply pending model changes to the database.


Represents a code-based migration that has been scaffolded and is ready to be written to a file.


Helper class that is used by design time tools to run migrations related commands that need to interact with an application that is being edited in Visual Studio. Because the application is being edited the assemblies need to be loaded in a separate AppDomain to ensure the latest version is always loaded. The App/Web.config file from the startup project is also copied to ensure that any configuration is applied.


Generates VB.Net code for a code-based migration.

Return to top
© 2015 Microsoft