Beispiel #1
0
 public static void Delete4AccountGroup(int account_group_id)
 {
     string[] keys = TradeRA.KeySearch("G_" + account_group_id + "_*");
     foreach (string key in keys)
     {
         TradeRA.Delete(key);
     }
 }
Beispiel #2
0
 public static bool Delete(OrderAutoUpdate model)
 {
     string[] keys = TradeRA.KeySearch("S_" + model.id + "_U_" + model.unit_id + "_*");
     if (keys.Length > 0)
     {
         return(TradeRA.Delete(keys[0]));
     }
     return(false);
 }
Beispiel #3
0
 public static void Delete(string key)
 {
     TradeRA.Delete(key);
 }