Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dispose
Message
From
23/10/2008 12:17:13
Timothy Bryan
Sharpline Consultants
Conroe, Texas, United States
 
 
To
23/10/2008 06:13:47
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Title:
Environment versions
Environment:
C# 2.0
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01356493
Message ID:
01356640
Views:
22
Stuart,

>hi
>I have been told I must call Dispose on my business objects and close the connection, how do I do this? or why should I not do this?
>thanks once again
>Stuart

I don't know for sure if IDisposable is implemented or not as I haven't looked but you shouldn't have to worry about it in this case. None of the samples do that, I don't do that and I didn't notice where it was done in the sample. I will probably go look later if IDisposable is involved but I bet not. The framework is managing the connection so you shouldn't have to worry about it.
Code on and have fun
Tim
Timothy Bryan
Previous
Reply
Map
View

Click here to load this message in the networking platform