コード例 #1
0
        public SqlServerStorageTransaction(SqlServerStorageConnection connection)
        {
            var options = connection.Options;

            _schema = options.Schema;

            _dbConnection = new SqlConnection(options.ConnectionString);
            _dbConnection.Open();
        }
コード例 #2
0
        public SqlServerStorageTransaction(SqlServerStorageConnection connection)
        {
            var options = connection.Options;

            _schema = options.Schema;

            _dbConnection = new SqlConnection(options.ConnectionString);
            _dbConnection.Open();
            _dbTransaction = _dbConnection.BeginTransaction(IsolationLevel.ReadCommitted);
        }