Example #1
0
 public NormalQueryReactor(IDatabaseClient client)
     : base(client)
 {
     switch (DatabaseManager.DatabaseConnectionType.ToLower())
     {
         case "firebird":
             CommandFireBird = client.CreateNewCommandFireBird();
             break;
         case "ingres":
         case "ingress":
             CommandIngress = client.CreateNewCommandIngress();
             break;
         case "pgsql":
             CommandPgSql = client.CreateNewCommandPgSql();
             break;
         default: // mySql
             CommandMySql = client.CreateNewCommandMySql();
             break;
     }
 }
Example #2
0
 public NormalQueryReactor(IDatabaseClient client) : base(client)
 {
             CommandMySql = client.CreateNewCommandMySql();
 }
Example #3
0
 public NormalQueryReactor(IDatabaseClient client) : base(client)
 {
     CommandMySql = client.CreateNewCommandMySql();
 }
Example #4
0
 public NormalQueryAdapter(IDatabaseClient client)
 {
     CommandMySql = client.CreateNewCommandMySql();
     Client       = client;
 }
Example #5
0
 public NormalQueryAdapter(IDatabaseClient client)
 {
     CommandMySql = client.CreateNewCommandMySql();
     Client = client;
 }