System.Data.Entity.Migrations.Design Namespace
The System.Data.Entity.Migrations.Design namespace provides classes that generate code for code-based migrations.
Class | Description | |
---|---|---|
![]() | CSharpMigrationCodeGenerator | Generates C# code for a code-based migration. |
![]() | MigrationCodeGenerator | Base class for providers that generate code for code-based migrations. |
![]() | MigrationScaffolder | Scaffolds code-based migrations to apply pending model changes to the database. |
![]() | ScaffoldedMigration | Represents a code-based migration that has been scaffolded and is ready to be written to a file. |
![]() | ToolingFacade | 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. |
![]() | VisualBasicMigrationCodeGenerator | Generates VB.Net code for a code-based migration. |