This commit is contained in:
pt 2020-01-11 00:31:54 -05:00
parent e589297eb1
commit 7cae86a78f
2 changed files with 11 additions and 2 deletions

4
.gitignore vendored
View File

@ -1,2 +1,4 @@
/bin /bin
/obj /obj
launch.json
.gitignore

View File

@ -138,6 +138,8 @@ namespace test
default: default:
break; break;
} }
s_odbc.ConnectionString = scs;
sc = s_odbc;
//setup destination //setup destination
switch (ddt) { switch (ddt) {
@ -154,7 +156,10 @@ namespace test
default: default:
break; break;
} }
d_npgsql.ConnectionString = dcs;
dc = d_npgsql;
/*
//polymorph open //polymorph open
try { try {
sc.Open(); sc.Open();
@ -183,6 +188,8 @@ namespace test
Console.Write(nl); Console.Write(nl);
Console.Write("etl start:" + DateTime.Now.ToString()); Console.Write("etl start:" + DateTime.Now.ToString());
/*
NpgsqlTransaction pgt = pgc.BeginTransaction(); NpgsqlTransaction pgt = pgc.BeginTransaction();
s_odbcommandTimeout = 6000; s_odbcommandTimeout = 6000;
s_odbcommandTimeout = 6000; s_odbcommandTimeout = 6000;
@ -333,7 +340,7 @@ namespace test
Console.Write(nl); Console.Write(nl);
Console.Write("etl end:" + DateTime.Now.ToString()); Console.Write("etl end:" + DateTime.Now.ToString());
*/
} }
} }
} }