ToolingFacade Class
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.
Assembly: EntityFramework (in EntityFramework.dll)
Name | Description | |
---|---|---|
![]() | ToolingFacade(String, String, String, String, String, String, DbConnectionInfo) | Initializes a new instance of the ToolingFacade class. |
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 the resources used by the current instance of the ToolingFacade class. |
![]() | Dispose(Boolean) | Releases all resources used by the facade. |
![]() | Equals(Object) | (Inherited from Object.) |
![]() | Finalize() | Releases all unmanaged resources used by the facade.(Overrides Object.Finalize().) |
![]() | GetContextType(String) | Gets the fully qualified name of a type deriving from DbContext. |
![]() | 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(String, String, String, Boolean) | Scaffolds a code-based migration to apply any pending model changes. |
![]() | ScaffoldInitialCreate(String, String) | Scaffolds the initial code-based migration corresponding to a previously run database initializer. |
![]() | ScriptUpdate(String, String, Boolean) | Generates a SQL script to migrate between two migrations. |
![]() | ToString() | (Inherited from Object.) |
![]() | Update(String, Boolean) | Updates the database to the specified migration. |
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.