예제 #1
0
		public void Commit(ITransaction transaction)
		{
			if (transaction == null)
				throw new ArgumentNullException("transaction");

			mTransactions.RemoveRange(mInsertionPoint, mTransactions.Count - mInsertionPoint);
			mTransactions.Add(transaction);
			transaction.Commit();
			++mInsertionPoint;
		}
예제 #2
0
		public void Add(ITransaction operation)
		{
			mOperations.Add(operation);
		}