Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dispose
Message
De
23/10/2008 12:17:13
Timothy Bryan
Sharpline Consultants
Conroe, Texas, États-Unis
 
 
À
23/10/2008 06:13:47
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Titre:
Versions des environnements
Environment:
C# 2.0
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Divers
Thread ID:
01356493
Message ID:
01356640
Vues:
20
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform