System.Data.Entity.Migrations.Design Namespace

Classes

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.

ToolingException

Represents an exception that occurred while running an operation in another AppDomain in the ToolingFacade.

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.