コード例 #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>());
 }
コード例 #2
0
 public void Dispose()
 {
     RemoveLogTablesTask.Remove(Connection);
     ControlFlow.ClearSettings();
     DataFlow.ClearSettings();
 }
コード例 #3
0
 public void Dispose()
 {
     DropTableTask.Drop(SqlConnection, ControlFlow.LogTable);
     ControlFlow.ClearSettings();
     DataFlow.ClearSettings();
 }