Exemple #1
0
            private void StoreModifiedObjects()
            {
                ObjectContainerBase container = _transaction.Container();

                container.StoreAll(_transaction, _modified.ValuesIterator(), container.UpdateDepthProvider
                                       ().Unspecified(new _IModifiedObjectQuery_132(this)));
                _transaction.ProcessDeletes();
            }
Exemple #2
0
        private void DisposeParticipants()
        {
            IEnumerator iterator = _participants.ValuesIterator();

            while (iterator.MoveNext())
            {
                ((ITransactionParticipant)iterator.Current).Dispose(this);
            }
        }
Exemple #3
0
 private void ApplyRollbackStrategy(IRollbackStrategy rollbackStrategy)
 {
     if (null == rollbackStrategy)
     {
         return;
     }
     ApplyRollbackStrategy(rollbackStrategy, _modified.ValuesIterator());
     ApplyRollbackStrategy(rollbackStrategy, _removedAfterModified.ValuesIterator());
 }