The Artima Developer Community
Sponsored Link

.NET Buzz Forum
Re: Datasets

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Udi Dahan

Posts: 882
Nickname: udidahan
Registered: Nov, 2003

Udi Dahan is The Software Simplist
Re: Datasets Posted: Nov 21, 2006 1:53 PM
Reply to this message Reply

This post originated from an RSS feed registered with .NET Buzz by Udi Dahan.
Original Post: Re: Datasets
Feed Title: Udi Dahan - The Software Simplist
Feed URL: http://feeds.feedburner.com/UdiDahan-TheSoftwareSimplist
Feed Description: I am a software simplist. I make this beast of architecting, analysing, designing, developing, testing, managing, deploying software systems simple. This blog is about how I do it.
Latest .NET Buzz Posts
Latest .NET Buzz Posts by Udi Dahan
Latest Posts From Udi Dahan - The Software Simplist

Advertisement
Following my recent post on Datasets and O/R mapping, I've received some comments and one in particular I wanted to call out.

Jacob Proffitt, the Rabid Paladin, wrote up a post on how to handle DbConcurrencyExceptions when using datasets. 4 different ways, wow. I don't think that any of them would work if the same row got 2 (or more) updates before getting sent to the database, since then we'd lose the ability to implement our nice business logic in dataset internals.

The main problem that I have with datasets is how they are used. They are the answer to databinding, sending data around (the all powerful DTO), and doing online transaction processing (OLTP), and do pretty much all of them OK in the simple case. If you are building a simple system, they're probably right for you. Unfortunately, I've seen too many projects whose requirements were quite complex and got mired down so bad with datasets that they couldn't continue. And this isn't me here, who never spent the time getting good with datasets - these were people who were VERY experienced and knowledgeable in their use.

When those same projects used different solutions for databinding/reporting, distribution, and OLTP - everything became much simpler in the common case. Complex cases that were intractable became possible.

My thanks to Jacob for making it clear how to make datasets handle common OLTP scenarios. I wonder - why didn't they make datasets do that out of the box?

Read: Re: Datasets

Topic: [Virtual Earth] 3D for German Regional Settings Previous Topic   Next Topic Topic: Thoughts about a conversation with Ralf Westphal at the Prio Conference

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use