A
ad
What is the difference between connection.Dispose() and connection.Close()?
Close releases the Connection back to the pool.
AFAIK is there is a difference between 1.x and 2.0 in using dispose. You areDispose calls Close and marks the object for destruction so it can't be
reopened.
Close releases the Connection back to the pool.
Why were there than so many people in these newsgroup, who had problems withAs far as pooling behavior, Dispose and Close both return the Connection
to the pool for reuse. Each of the .NET providers implements a Connection
pool--it's part of the core functionality.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.