To Dataset or Not

  • Thread starter Thread starter A
  • Start date Start date
A

A

I have been looking throught the Microsoft Quickstart examples and it looks
like (at a very minumum glance) the use of updating Datasets throught the
dataAdapter isn't really in much use. I am somewhat new to this but I
thought that I would see a much greater reliance on this method of updating
the database since the Datasets are so hyped as the solution to disconnected
data update issues.

Can anyone clear this up for me?
 
It works fine and there is a lot of control over each command in ADO.Net.
So go ahead and use it if you want to.

The dataset object has a lot of overhead though.

If you write a custom class (or Business Object) then you can have very fine
control over the data (including the ability to validate it in the BO).
Rocky Lhotka calls BOs "smart data".
Check out the CSLA framework and Rocky's excellent book for more info.
http://www.lhotka.net/ArticleIndex.aspx?area=CSLA .NET
 
Back
Top