Re: What is the difference between Dispose and Close
- From: "Sahil Malik [MVP]" <contactmethrumyblog@xxxxxxxxxx>
- Date: Wed, 8 Jun 2005 14:22:58 -0400
<beyondanydoubt>Close will return the underlying physical connection to the
connection pool.</beyondanydoubt>
No clue what Angel was saying - can you point to some written text from him?
- Sahil Malik [MVP]
Upcoming ADO.NET 2.0 book - http://tinyurl.com/9bync
----------------------------------------------------------------------------
---------------
"Cor Ligthert" <notmyfirstname@xxxxxxxxx> wrote in message
news:uH3U2KFbFHA.3132@xxxxxxxxxxxxxxxxxxxxxxx
> Bill,
>
> > As 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.
> >
> Why were there than so many people in these newsgroup, who had problems
with
> the Connection Pool, for whom, after that I advised to change the close
for
> dispose (according to the messages from Angel), the Connection pool
problems
> were gone?
>
> Cor
>
>
.
- References:
- What is the difference between Dispose and Close
- From: ad
- Re: What is the difference between Dispose and Close
- From: William \(Bill\) Vaughn
- Re: What is the difference between Dispose and Close
- From: Cor Ligthert
- Re: What is the difference between Dispose and Close
- From: William \(Bill\) Vaughn
- Re: What is the difference between Dispose and Close
- From: Cor Ligthert
- What is the difference between Dispose and Close
- Prev by Date: <WebMethod> function that calls a param SP with optional args
- Next by Date: Re: ADO.NET 2.0 Dataset Merge
- Previous by thread: Re: What is the difference between Dispose and Close
- Next by thread: Re: What is the difference between Dispose and Close
- Index(es):
Relevant Pages
|