public void CompleteTransaction(DolphinDb database) { if (_stack == null) { _stack = new Stack <DolphinDb>(); } _stack.Pop(); }
public void BeginTransaction(DolphinDb database) { if (_stack == null) { _stack = new Stack <DolphinDb>(); } _stack.Push(database); }