Dispose() public method

public Dispose ( ) : void
return void
Exemplo n.º 1
0
        public void Commit()
        {
            buildConnection();

            _connection.Commit();

            _connection.Dispose();
            _connection = null;
        }
Exemplo n.º 2
0
        public void Commit()
        {
            if (_mode == CommandRunnerMode.External)
            {
                return;
            }

            buildConnection();

            _retryPolicy.Execute(() => _connection.Commit());

            _connection.Dispose();
            _connection = null;
        }
Exemplo n.º 3
0
        public void Commit()
        {
            if (_mode == CommandRunnerMode.External)
            {
                return;
            }

            buildConnection();

            _connection.Commit();

            _connection.Dispose();
            _connection = null;
        }
Exemplo n.º 4
0
 public void Dispose()
 {
     if (_mode == CommandRunnerMode.External)
     {
         return;
     }
     _connection?.Dispose();
 }
Exemplo n.º 5
0
 public void Dispose()
 {
     _connection?.Dispose();
 }