0 Replies Latest reply: Mar 6, 2011 2:10 PM by 845183 RSS

    The OracleConnection object

    845183
      I had a question about the connection object itself - basically what is the best way 'end' the connection.

      If I call connection.Close(); does this leave the connection available in the connection pool or is it closed completely? eg. removed from the pool. Also, if I call .Close(); and .Dispose(); does that also leave it in the pool?

      What is the best order to close and or dispose? 1. Reader 2. Command 3. Connection