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>()); }
public void Dispose() { RemoveLogTablesTask.Remove(Connection); ControlFlow.ClearSettings(); DataFlow.ClearSettings(); }
public void Dispose() { DropTableTask.Drop(SqlConnection, ControlFlow.LogTable); ControlFlow.ClearSettings(); DataFlow.ClearSettings(); }