Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Need opinions on old school vs. LINQ and EF
Message
From
29/01/2011 17:18:42
 
 
To
28/01/2011 11:33:11
General information
Forum:
ASP.NET
Category:
LINQ
Miscellaneous
Thread ID:
01497565
Message ID:
01497795
Views:
54
>I think if our non-C# programmers think LINQ/EF is complicated they will have a complete meltdown when they see how tedious working with datasets, et al. is like.

Jeff, I'm not going to argue the merits or pitfalls of DataSets vs EF, but I do want to point out that I think you're misguided about the tedium in working with DataSets. I wonder if you used regular old vanilla DataSets or Typed DataSets? Typed DataSets give you typed properties, just like any Entity class would. They are also auto-generated. Typed DataSets are heads-and-shoulders above plain old DataSets. They should be used as a data transport mechanism, much as any Entity class would be used (one area that I think a lot of people get wrong). The only caution I always tell people when working with Typed DataSets is to avoid the TableAdapters, they only add pain and misery. <g> And that's easy enough to do. DataAccess isn't all that complicated with DataSets either. I've been working with Typed DataSets for almost 9 years and really like them. My various blog posts on the subject might be interesting reading.

The purpose of my post is not to push my viewpoint on how easy and beneficial I think DataSets are, but only to point out that they generally misunderstood. I should also mention a disclaimer that I haven't used EF, nor have I used any ORM at all, so I might not really know what I'm missing. But, I just hate to see the poor DataSet being abused and somebody needs to stick up for them! <g>

~~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