public void DeleteSingleTransaction(string transactionId) { var item = Get(transactionId); database.DeleteOrderIndex(transactionId); IndexOrderCache.Remove(transactionId); database.UpdateToKeyMap("orders_" + item.TradingPair, transactionId); }
public void DeleteIndex(TransactionOrderLimit record) { database.DeleteOrderIndex(record.TransactionId); database.DeleteKeyMap("orders_" + record.TradingPair); IndexOrderCache.Remove(record.TransactionId); }