public static void Delete4AccountGroup(int account_group_id) { string[] keys = TradeRA.KeySearch("G_" + account_group_id + "_*"); foreach (string key in keys) { TradeRA.Delete(key); } }
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); }
public static void Delete(string key) { TradeRA.Delete(key); }