Example #1
0
        public SqlTransaction(Func <SqlConnection> connectionFactory, SqlTransactionManagerBase owner, bool withoutScope)
        {
            m_connectionFactory = connectionFactory;
            m_owner             = owner;

            m_scope = withoutScope ? null : CreateTransactionScope();
        }
Example #2
0
 internal ChildSqlTransaction(ISqlTransaction parent, SqlTransactionManagerBase owner)
 {
     Parent  = parent;
     m_owner = owner;
 }