Re: ADO.NET and Dispose

Ian Griffiths <[email protected]>
Newsgroups gmane.comp.windows.devel.dotnet.general
Message-ID <072501c2137e$98b15240$661ba8c0@imola>
"Kevin E. Kenny" <[email protected]> wrote:

> Where there is a Close() it will invariably call Dispose().

For SqlConnection that's not quite true.  Close() doesn't call Dispose().
But Dispose() does call Close().  Dispose() also clears the connection
string.


--
Ian Griffiths
DevelopMentor

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.