title: How do I close an OracleConnection in .NET
body: <p>Say I have these two objects:</p>
  
  <pre><code>OracleConnection connection = new OracleConnection(connectionString);  
  OracleCommand command = new OracleCommand(sql, connection);
  </code></pre>
  
  <p>To close the connection or Oracle, do I have to call command.Dispose(), connection.Dispose(), or both?</p>
  
  <p>Is this good enough:</p>
  
  <pre><code>using(connection)  
  {
      OracleDataReader reader = cmd.ExecuteReader();
      // whatever...
  }
  </code></pre>