Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Separation of Biz and Data Layer question
Message
From
05/02/2007 09:52:53
 
 
To
05/02/2007 09:23:15
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, United States
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
VB.NET 1.1
Miscellaneous
Thread ID:
01191769
Message ID:
01192392
Views:
20
We'd still use DataSets. We do not use classes. My DataSets consist of many more than one DataTable. In the Customer example, the first DataTable would be the customer and yes, it would only contain one row. But, then all the other DataTables in the DataSet are child tables of the Customer table and have anywhere from zero to many rows in each one. We don't use relationships in our Typed DataSets, even though these are obviously parent/child.

~~Bonnie


>Just another quick question regarding this architecture...
>
>Say you were working with "customers". You would pass datasets regardless of if you only loaded 1 customer or many customers, correct? So you wouldn't have a "customer" class... You would have a dataset with only 1 row in it?
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