Exemple #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;
     }
 }