Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Separation of Biz and Data Layer question
Message
De
05/02/2007 09:52:53
 
 
À
05/02/2007 09:23:15
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
VB.NET 1.1
Divers
Thread ID:
01191769
Message ID:
01192392
Vues:
21
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform