Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
C# database access
Message
From
19/01/2015 10:12:13
 
 
To
18/01/2015 20:36:01
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Environment versions
Environment:
VB 9.0
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01613608
Message ID:
01613892
Views:
50
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform