Exemplo n.º 1
0
 public void TestLogging_CSV_RowTrans_DB()
 {
     DataFlow.ClearSettings();
     CreateLogTablesTask.CreateLog();
     CSV_RowTrans_DB();
     Assert.AreEqual(3, new SqlTask("Find log entry", "select count(*) from etl.Log where TaskType='DF_CSVSOURCE' group by TaskHash")
     {
         DisableLogging = true
     }.ExecuteScalar <int>());
     Assert.AreEqual(3, new SqlTask("Find log entry", "select count(*) from etl.Log where TaskType='DF_DBDEST' group by TaskHash")
     {
         DisableLogging = true
     }.ExecuteScalar <int>());
 }
Exemplo n.º 2
0
 public void Dispose()
 {
     RemoveLogTablesTask.Remove(Connection);
     ControlFlow.ClearSettings();
     DataFlow.ClearSettings();
 }
 public void Dispose()
 {
     DropTableTask.Drop(SqlConnection, ControlFlow.LogTable);
     ControlFlow.ClearSettings();
     DataFlow.ClearSettings();
 }