Exemplo n.º 1
0
        /// <summary>
        /// Initializes a new instance of the <see cref="NHibernateTransaction"/> class.
        /// </summary>
        /// <param name="transaction">The real transaction.</param>
        public NHibernateTransaction(ITransaction transaction)
        {
            transaction.ThrowIfNull("transaction");

            IsActive = transaction.IsActive;
            Transaction = transaction;
        }