From 7cae86a78f977e4690fc37beed0c76dc12b87c3d Mon Sep 17 00:00:00 2001 From: pt Date: Sat, 11 Jan 2020 00:31:54 -0500 Subject: [PATCH] unsure --- .gitignore | 4 +++- runner.cs | 9 ++++++++- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 0a079b6..ae01dcd 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,4 @@ /bin -/obj \ No newline at end of file +/obj +launch.json +.gitignore \ No newline at end of file diff --git a/runner.cs b/runner.cs index f0de7fe..9eaad51 100644 --- a/runner.cs +++ b/runner.cs @@ -138,6 +138,8 @@ namespace test default: break; } + s_odbc.ConnectionString = scs; + sc = s_odbc; //setup destination switch (ddt) { @@ -154,7 +156,10 @@ namespace test default: break; } + d_npgsql.ConnectionString = dcs; + dc = d_npgsql; + /* //polymorph open try { sc.Open(); @@ -183,6 +188,8 @@ namespace test Console.Write(nl); Console.Write("etl start:" + DateTime.Now.ToString()); + + /* NpgsqlTransaction pgt = pgc.BeginTransaction(); s_odbcommandTimeout = 6000; s_odbcommandTimeout = 6000; @@ -333,7 +340,7 @@ namespace test Console.Write(nl); Console.Write("etl end:" + DateTime.Now.ToString()); - + */ } } }