You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ConnectionString="Server=tfb-database;Database=hello_world;User Id=benchmarkdbuser;Password=benchmarkdbpass;Maximum Pool Size=1024;SslMode=None;ConnectionReset=false;ConnectionIdlePingTime=900;ConnectionIdleTimeout=0;AutoEnlist=false;DefaultCommandTimeout=0;ConnectionTimeout=0;IgnorePrepare=false;";
ConnectionString="Server=tfb-database;Database=hello_world;User Id=benchmarkdbuser;Password=benchmarkdbpass;Maximum Pool Size=1024;SslMode=None;ConnectionReset=false;ConnectionIdlePingTime=900;ConnectionIdleTimeout=0;AutoEnlist=false;DefaultCommandTimeout=0;ConnectionTimeout=0;IgnorePrepare=false;";
39
+
Console.WriteLine("hey ado mysql");
40
+
}
41
+
else
42
+
{
43
+
ConnectionString="Server=tfb-database;Database=hello_world;User Id=benchmarkdbuser;Password=benchmarkdbpass;Maximum Pool Size=1024;NoResetOnClose=true;Enlist=false;Max Auto Prepare=3;";
44
+
Console.WriteLine("hey ado postgresql");
45
+
}
39
46
}
40
-
else
47
+
}
48
+
49
+
publicstaticvoidSetInstance()
50
+
{
51
+
if(Constants.DbProvider==DbProvider.ODBC)
52
+
{
53
+
Instance=System.Data.Odbc.OdbcFactory.Instance;
54
+
}
55
+
elseif(Constants.DbProvider==DbProvider.ADO)
41
56
{
42
-
#if ADO
43
-
ConnectionString="Server=tfb-database;Database=hello_world;User Id=benchmarkdbuser;Password=benchmarkdbpass;Maximum Pool Size=1024;NoResetOnClose=true;Enlist=false;Max Auto Prepare=3";
0 commit comments