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