public RhinoTransactionResourceAdapter(TransactionMode transactionMode)
 {
     this.transactionMode = transactionMode;
 }
示例#2
0
 private void OnNewTransaction(ITransaction transaction, TransactionMode transactionMode, IsolationMode isolationMode)
 {
     transaction.Enlist(new TransactionScopeResourceAdapter(transactionMode));
 }
		private void OnNewTransaction(ITransaction transaction, TransactionMode transactionMode, IsolationMode isolationMode, bool distributedTransaction)
		{
			if (!transaction.DistributedTransaction)
			{
				transaction.Enlist(new TransactionScopeResourceAdapter(transactionMode));
			}
		}
 public TransactionScopeResourceAdapter(TransactionMode transactionMode)
 {
     this.transactionMode = transactionMode;
 }
		/// <summary>
		/// Initializes a new instance of the <see cref="TransactionScopeResourceAdapter"/> class.
		/// </summary>
		/// <param name="transactionMode">The transaction mode.</param>
		public TransactionScopeResourceAdapter(TransactionMode transactionMode)
		{
			this.transactionMode = transactionMode;
		}
 public RhinoTransactionResourceAdapter(TransactionMode transactionMode)
 {
     this.transactionMode = transactionMode;
 }