コード例 #1
0
ファイル: Database.cs プロジェクト: string17/Dolphin2.0
 public void CompleteTransaction(DolphinDb database)
 {
     if (_stack == null)
     {
         _stack = new Stack <DolphinDb>();
     }
     _stack.Pop();
 }
コード例 #2
0
ファイル: Database.cs プロジェクト: string17/Dolphin2.0
 public void BeginTransaction(DolphinDb database)
 {
     if (_stack == null)
     {
         _stack = new  Stack <DolphinDb>();
     }
     _stack.Push(database);
 }