Exemplo 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();
 }
Exemplo n.º 2
0
 public void SetSqlProcessorTest()
 {
     ISqlProcessor processor = new DatabaseSqlProcessor();
     Target.SetSqlProcessor(processor);
     Assert.AreEqual(processor, Target.SqlProcessor);
 }