Ejemplo n.º 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;
		}
Ejemplo n.º 2
0
		public void Add(ITransaction operation)
		{
			mOperations.Add(operation);
		}