Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Switching Dataset backends quickly
Message
De
26/07/2007 19:45:31
 
 
À
26/07/2007 18:25:25
Information générale
Forum:
ASP.NET
Catégorie:
ADO.NET
Versions des environnements
Environment:
VB 8.0
OS:
Windows Server 2003
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01243434
Message ID:
01243976
Vues:
31
... but how do I avoid using DataSets when Visual Studio makes them so damn seductive by having them do so much just by dragging them onto a form?

Hi, David,

Sorry to jump in, I know Bonnie will be happy and able to give you a further explanation, but I wanted to respond:

Nothing that Bonnie has said means you have to avoid DataSets - typed DataSets are a nice visual representation of the data, and yes, they help with the design-time experience in Visual Studio. What Bonnie is specifically voicing opinion on (and I definitely agree with her) is the use of the TableAdapter. It's OK (in my book) to use typed DataSets - you just don't want to design them to be coupled/tied to your data access in the manner you were describing. From your posts, it sounds like you're carrying too much coupling in your project.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform