Esempio n. 1
0
 public void RollbackTransactions()
 {
     for (int i = 0; i < _PluginsSynchronizeContext.Values.Count; i++)
     {
         ITransactionScope transactionScope = _PluginsSynchronizeContext.ElementAt(i).Value as ITransactionScope;
         if (transactionScope != null)
         {
             transactionScope.RollbackTransaction();
         }
     }
 }
 public void RollbackTransactions()
 {
     foreach (var item in _PluginsSynchronizeContext.Values)
     {
         ITransactionScope transactionScope = item as ITransactionScope;
         if (transactionScope != null)
         {
             transactionScope.RollbackTransaction();
         }
     }
 }