public SqlServerIndexOutput(SqlConnection connection, string name, Options options)
 {
     _connection = connection;
     _name = name;
     _options = options;
     _writer = new SqlServerStreamingWriter(connection, options.SchemaName, name);
 }
 internal SqlServerIndexInput(SqlConnection connection, string name, Options options)
 {
     _connection = connection;
     _name = name;
     _options = options;
     _dataReader = new SqlServerStreamingReader(connection, name, options.SchemaName);
 }
        public SqlServerDirectory(SqlConnection connection, Options options)
        {
            if(connection == null)
                throw new ArgumentNullException(nameof(connection));
            if(options == null)
                throw new ArgumentNullException(nameof(options));

            _connection = connection;
            _options = options;
            ValidateConfiguration();
            SetLockFactory(new SqlServerLockFactory(connection, options));
        }
 internal SqlServerLockFactory(SqlConnection connection, Options options)
 {
     _connection = connection;
     _options = options;
 }
 public SqlServerLock(SqlConnection connection, string lockName, Options options)
 {
     _connection = connection;
     _lockName = lockName;
     _options = options;
 }