Method of passing data between logical tiers : DataSet vs DataReader
Messages   Related Types
This message was discovered on ASPFriends.com 'aspngarchitecture' list.


James Yang
Hi I've just finished reading Wrox relatively new book, ASP.NET Problem
Design Solution, and had some question on architecture decision made by the
authors.

They used DataSet to pass data around the Data Access Tier, which are just
code to run stored procs and get values etc, and business logic which are
code that wraps those data access tier classes. I was thinking though, it is
very unlikely that those two layers are to be separated physically, so why
is dataSet used??? instead of datareader

Reply to this message...
 
    
Bill Bassler
If the data object doesn't possibly have a serialization requirement ... as
you suggest. (unlikely that those two layers are to be separated physically
... because a dataReader object cannot be serialized). Maybe because the
DataSet can be disconnected from the database??

Just my guess.

"James Yang" <Click here to reveal e-mail address> wrote in message
news:674874@aspngarchitecture...
[Original message clipped]

Reply to this message...
 
 
System.Data.DataSet




Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
 
 Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us - Terms of Use - Privacy Policy - www.dotnet247.com