Esempio n. 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Engine"/> class.
 /// </summary>
 public Engine()
 {
     Migrations         = new Dictionary <long, Type>();
     SqlProviderFactory = new SqlProviderFactory();
     HistoryRepository  = new MigrationHistoryRepository();
     SqlProcessor       = new DatabaseSqlProcessor();
 }
Esempio n. 2
0
 public SqlServerMigrationSqlConfiguration(DbMigrationsConfiguration configuration)
     : base(configuration)
 {
     this.inspection        = new SqlServerMigrationSqlInspection(configuration);
     this.historyRepository = new SqlServerMigrationHistoryRepository(configuration);
 }