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)); } }
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)); } }
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)); } }