Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dispose
Message
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:
01356956
Vues:
23
Stuart,

>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

mmBusinessObject doesn't impleent IDisposable, but the associated data access class is where the connection is opened/closed. The data access class doesn't hold open connections--it closes them immediately after use--can you give me more background on what's going on?

Best Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform