ToolingFacade Class
Entity Framework 5.0
Represents a 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.
Namespace: System.Data.Entity.Migrations.Design
Assembly: EntityFramework (in EntityFramework.dll)
The ToolingFacade type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | LogInfoDelegate | Gets or sets an action to be run to log information. |
![]() | LogVerboseDelegate | Gets or sets an action to be run to log verbose information. |
![]() | LogWarningDelegate | Gets or sets an action to be run to log warnings. |
| Name | Description | |
|---|---|---|
![]() | Dispose | Releases all resources used by the ToolingFacade. |
![]() | Dispose(Boolean) | Releases all resources used by the ToolingFacade. |
![]() | Equals | (Inherited from Object.) |
![]() | Finalize | Releases all unmanaged resources used by the facade. (Overrides Object.Finalize.) |
![]() | GetContextType | |
![]() | GetContextTypes | Gets the fully qualified name of all types deriving from DbContext. |
![]() | GetDatabaseMigrations | Gets a list of all migrations that have been applied to the database. |
![]() | GetHashCode | (Inherited from Object.) |
![]() | GetPendingMigrations | Gets a list of all migrations that have not been applied to the database. |
![]() | GetType | (Inherited from Object.) |
![]() | MemberwiseClone | (Inherited from Object.) |
![]() | Scaffold | Scaffolds a code-based migration to apply any pending model changes. |
![]() | ScaffoldInitialCreate | Scaffolds the initial code-based migration corresponding to a previously run database initializer. |
![]() | ScriptUpdate | Generates a SQL script to migrate between two migrations. |
![]() | ToString | (Inherited from Object.) |
![]() | Update | Updates the database to the specified migration. |
Show:
