ToolingFacade Constructor (String, String, String, String, String, String, DbConnectionInfo)

 

Initializes a new instance of the ToolingFacade class.

Namespace:   System.Data.Entity.Migrations.Design
Assembly:  EntityFramework (in EntityFramework.dll)

[SuppressMessageAttribute("Microsoft.Security", "CA2140:TransparentMethodsMustNotReferenceCriticalCodeFxCopRule")]
public ToolingFacade(
	string migrationsAssemblyName,
	string contextAssemblyName,
	string configurationTypeName,
	string workingDirectory,
	string configurationFilePath,
	string dataDirectory,
	DbConnectionInfo connectionStringInfo
)

Parameters

migrationsAssemblyName
Type: System.String

The name of the assembly that contains the migrations configuration to be used.

contextAssemblyName
Type: System.String

The name of the assembly that contains the DbContext to be used.

configurationTypeName
Type: System.String

The namespace qualified name of migrations configuration to be used.

workingDirectory
Type: System.String

The working directory containing the compiled assemblies.

configurationFilePath
Type: System.String

The path of the config file from the startup project.

dataDirectory
Type: System.String

The path of the application data directory from the startup project. Typically the App_Data directory for web applications or the working directory for executables.

connectionStringInfo
Type: System.Data.Entity.Infrastructure.DbConnectionInfo

The connection to the database to be migrated. If null is supplied, the default connection for the context will be used.