Beispiel #1
0
 public void executeData(SessionsMap data, sqlStatementType sql)
 {
     if (sql == sqlStatementType.Insert)
     {
         sqlFunc.insertData(data, databaseTable.Sessions);
     }
     else if (sql == sqlStatementType.Update)
     {
         sqlFunc.updateData(data, databaseTable.Sessions);
     }
     else if (sql == sqlStatementType.Delete)
     {
         sqlFunc.deleteData(data, databaseTable.Sessions, paramList(data));
     }
 }
Beispiel #2
0
 public void executeData(CoinOrderMap data, sqlStatementType sql)
 {
     if (sql == sqlStatementType.Insert)
     {
         sqlFunc.insertData(data, databaseTable.CoinOrder);
     }
     else if (sql == sqlStatementType.Update)
     {
         sqlFunc.updateData(data, databaseTable.CoinOrder);
     }
     else if (sql == sqlStatementType.Delete)
     {
         sqlFunc.deleteData(data, databaseTable.CoinOrder, paramList(data));
     }
 }
Beispiel #3
0
 public void executeData(PrimaryAccountMap data, sqlStatementType sql)
 {
     if (sql == sqlStatementType.Insert)
     {
         sqlFunc.insertData(data, databaseTable.PrimaryAccount);
     }
     else if (sql == sqlStatementType.Update)
     {
         sqlFunc.updateData(data, databaseTable.PrimaryAccount);
     }
     else if (sql == sqlStatementType.Delete)
     {
         sqlFunc.deleteData(data, databaseTable.PrimaryAccount, paramList(data));
     }
 }