So the end result really is it allows you to adapt to change more easily.
But what about the functionality that is lost as a result of creating custom
classes, such as sorting, searching, merging etc and all the other
wonderfulthings you can do with DataSets.
I think what alot of these arguments is missing is a project depends on
requirements and often a rich feature set that is delivered on time and
within budget. If DataSets are not used this functionality is lost which
means the developer has to replace it. This of course results in either loss
of functionality or a more costly and lengthly time scale.
So far I have not seen the equivilent of a custom class and a DataSet that
warrents the extra effort.
Regards
Simon.
"Scott M." <s-> wrote in message
news:...
> One reason is that they limit your ability to scale your application with
> minimal application changes. Suppose you wish to pass a NET 2.0 DataSet
> today, so you set up a web service consumer that can receive a NET 2.0
> DataSet.
>
> Now, what happens if (and when) you'll want to replace that NET 2.0
> DataSet with a NET 3.x DataSet? You'll have to change your consumer as
> well. Or better yet...What if down the road, you want to swap out the NET
> web service consumer with a Java web service consumer?
>
> By keeping the proprietary stuff within a software tier, you leverage your
> ability to scale your application later on.
>
>
> "Simon Hart" <> wrote in message
> news:...
>>I must admit, I am still struggling to understand why DataSets are so bad
>>to use if you are developing a .NET solution front to back.
>>
>> I really depends on the requirements. How do you for example handle
>> databinding, sorting, updating etc via a custom class?
>>
>> Regards
>> Simon.
>>
>> "Josh Twist" <> wrote in message
>> news: ups.com...
>>> Not everybody would agree that DataSets are a good solution for use in
>>> Web Services (including me), I think Scott Hanselman describes the
>>> situation well in his post entitled "Returning DataSets from
>>> WebServices is the Spawn of Satan and Represents All That Is Truly Evil
>>> in the World":
>>>
>>> http://www.hanselman.com/blog/Return...nTheWorld.aspx
>>>
>>> Josh
>>> http://www.thejoyofcode.com/
>>>
>>
>>
>
>