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

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