Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Opening and Closing data files
Message
De
18/12/2003 10:34:23
 
 
À
17/12/2003 18:54:06
Ron Hodge
Sebrex Systems, Inc.
Dacula, Georgie, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00860152
Message ID:
00860358
Vues:
12
Ron,

I'd like to clarify and comment on a few things you said:

>>The data adapter leaves the dta connection open only long enough for the command to be executed.<

Well, sorta ... this is true if you do a simple MyDataAdapter.Fill(MyDataSet). However, if you open the connection at all manually (because you're doing transactions or whatever), it will stay open until you close it again.

>>As far as switching from a Windows to a web app, the best methodology is to use an application framework, where the only difference is the ui, while the data access, validation, etc., is outside the ui, so it doesn't need to be rewritten when you change platforms. The best of the app frameworks available now are Mere Mortals and Rockford Lhotka's CSLA frameworks, imho.<

While I agree that the best methodology is separating the UI from DataAccess and BizObjects, I don't think using a "framework" implies buying a commercial one. You can roll your own as well.

~~Bonnie
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform