Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
C# database access
Message
De
19/01/2015 10:12:13
 
 
À
18/01/2015 20:36:01
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Versions des environnements
Environment:
VB 9.0
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01613608
Message ID:
01613892
Vues:
49
Why do you prefer Typed DataSets?

Craig, I've been using Typed DataSets since .NET 1.0. Along the way, I've developed base class DataAccess code around this concept. I find no compelling reason to change to any other paradigm, given the fact that Typed DataSets, along with my server-side DataAccess classes, work just fine for all scenarios I've used (WinForms, WPF, and server-side), as long as I stay away from the dreaded TableAdapters (my DataAccess classes use DataAdapters).

The only thing that will be different is for cross-platform apps (using Xamarin), which I've really only started playing with. Not all of the platforms will support DataSets for the UI (like, Windows Store apps) so I would use Lists of POCO classes on the front end. On the server-side, I still plan to get/save data to the database via DataSets ... probably.

~~Bonnie


>
>
>>Yeah, EF is the "flavor of the month", but I'm with Kevin and Bill on this. I also prefer to use Typed DataSets.
>>
>>~~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