ToolingFacade Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
ToolingFacade(String, String, String, String, String, DbConnectionInfo) |
Initializes a new instance of the ToolingFacade class. |
ToolingFacade(String, String, String, String, String, String, DbConnectionInfo) |
Initializes a new instance of the ToolingFacade class. |
ToolingFacade(String, String, String, String, String, DbConnectionInfo)
Initializes a new instance of the ToolingFacade class.
public ToolingFacade (string assemblyName, string configurationTypeName, string workingDirectory, string configurationFilePath, string dataDirectory, System.Data.Entity.Infrastructure.DbConnectionInfo connectionStringInfo);
new System.Data.Entity.Migrations.Design.ToolingFacade : string * string * string * string * string * System.Data.Entity.Infrastructure.DbConnectionInfo -> System.Data.Entity.Migrations.Design.ToolingFacade
Public Sub New (assemblyName As String, configurationTypeName As String, workingDirectory As String, configurationFilePath As String, dataDirectory As String, connectionStringInfo As DbConnectionInfo)
Parameters
- assemblyName
- String
The name of the assembly that contains the migrations configuration to be used.
- configurationTypeName
- String
The namespace qualified name of migrations configuration to be used.
- workingDirectory
- String
The working directory containing the compiled assemblies.
- configurationFilePath
- String
The path of the config file from the startup project.
- dataDirectory
- 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
- DbConnectionInfo
The connection to the database to be migrated. If null is supplied, the default connection for the context will be used.
Applies to
ToolingFacade(String, String, String, String, String, String, DbConnectionInfo)
Initializes a new instance of the ToolingFacade class.
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2140:TransparentMethodsMustNotReferenceCriticalCodeFxCopRule")]
public ToolingFacade (string migrationsAssemblyName, string contextAssemblyName, string configurationTypeName, string workingDirectory, string configurationFilePath, string dataDirectory, System.Data.Entity.Infrastructure.DbConnectionInfo connectionStringInfo);
new System.Data.Entity.Migrations.Design.ToolingFacade : string * string * string * string * string * string * System.Data.Entity.Infrastructure.DbConnectionInfo -> System.Data.Entity.Migrations.Design.ToolingFacade
Public Sub New (migrationsAssemblyName As String, contextAssemblyName As String, configurationTypeName As String, workingDirectory As String, configurationFilePath As String, dataDirectory As String, connectionStringInfo As DbConnectionInfo)
Parameters
- migrationsAssemblyName
- String
The name of the assembly that contains the migrations configuration to be used.
- contextAssemblyName
- String
The name of the assembly that contains the DbContext to be used.
- configurationTypeName
- String
The namespace qualified name of migrations configuration to be used.
- workingDirectory
- String
The working directory containing the compiled assemblies.
- configurationFilePath
- String
The path of the config file from the startup project.
- dataDirectory
- 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
- DbConnectionInfo
The connection to the database to be migrated. If null is supplied, the default connection for the context will be used.
- Attributes
Applies to
Entity Framework