Export (0) Print
Expand All

System.Data.Entity.Migrations.Design Namespace

[This page is specific to the Entity Framework version 6. The latest version is available as the 'Entity Framework' NuGet package. For more information about Entity Framework, see msdn.com/data/ef.]

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

  ClassDescription
Public classCSharpMigrationCodeGeneratorGenerates C# code for a code-based migration.
Public classMigrationCodeGeneratorBase class for providers that generate code for code-based migrations.
Public classMigrationScaffolderScaffolds code-based migrations to apply pending model changes to the database.
Public classScaffoldedMigrationRepresents a code-based migration that has been scaffolded and is ready to be written to a file.
Public classToolingFacadeHelper 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.
Public classVisualBasicMigrationCodeGeneratorGenerates VB.Net code for a code-based migration.
Show:
© 2014 Microsoft