Summary
Entity Framework Migration
Syntax
public EfMigrator(string assemblyPath, string qualifiedDbConfigName, string appConfigPath, string connectionString, string connectionProvider, ILogger logger, bool allowDataLossOnMigrations)
Parameters
| Name |
Type |
Description |
| assemblyPath |
string |
full path to the assembly |
| qualifiedDbConfigName |
string |
Name of the DbConfiguration class to use for the migrations |
| appConfigPath |
string |
App.Config or Web.config file path |
| connectionString |
string |
Connectionsting name of actually connection string |
| connectionProvider |
string |
Name of the connection string provider |
| logger |
ILogger |
Logger to write items to the console |
| allowDataLossOnMigrations |
bool |
Determines whether to allow dataloss during the migration |
Return Value