Absolutely true -- even with a handful of users, you'll start getting Max Pool errors.
j
-----Original Message-----
From: Brad Wilson [mailto:[EMAIL PROTECTED]]
Sent: Tue 6/11/2002 9:40 AM
To: [EMAIL PROTECTED]
Cc:
Subject: Re: [DOTNET] ADO.NET and Dispose
Chris Anderson wrote:
> Basically..Am I going overkill on the Dispose methods?
Not at all. If a class implements IDisposable, that means it wants to call
Dispose the absolute moment you're through. In the case here, it means
database connection resources are returned to the pool to be used by others.
I believe (thought I have not tested) that if you weren't calling Dispose
there, you would soon run out of connection resources and connections to the
database would fail.
b��jz�iٞ�Ơz��kax3�4Dڭ�b�맲��r��y��3�4D�˛���m�h��^�7�zZ)1����b���m��݊�.��^��h��&- [DOTNET] ADO.NET and Dispose Chris Anderson
- Re: [DOTNET] ADO.NET and Dispose Brad Wilson
- Re: [DOTNET] ADO.NET and Dispose Peter Foreman
- Re: [DOTNET] ADO.NET and Dispose Daniel Morgan
- Re: [DOTNET] ADO.NET and Dispose Peter Foreman
- Re: [DOTNET] ADO.NET and Dispose Jeff Fedor
- Re: [DOTNET] ADO.NET and Dispose Chris Anderson
- Re: [DOTNET] ADO.NET and Dispose Beauchemin, Bob
- Re: [DOTNET] ADO.NET and Dispose Peter Foreman
- Re: [DOTNET] ADO.NET and Dispose Shawn Wildermuth
- Re: [DOTNET] ADO.NET and Dispose Chris Anderson
- Re: [DOTNET] ADO.NET and Dispose Francesco Sanfilippo
- Re: [DOTNET] ADO.NET and Dispose Chris Anderson
- Re: [DOTNET] ADO.NET and Dispose Kevin E. Kenny
- Re: [DOTNET] ADO.NET and Dispose Ian Griffiths
- Re: [DOTNET] ADO.NET and Dispose Dan Green
