Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DataSet, DataTable, DataView
Message
De
06/08/2004 16:20:06
 
 
À
06/08/2004 12:24:53
Information générale
Forum:
ASP.NET
Catégorie:
ADO.NET
Divers
Thread ID:
00928619
Message ID:
00931427
Vues:
29
Steve,

>Thanks for all the info in this thread :)

You're welcome ... I'm glad people are getting a lot out of this. =)

>How do you handle differences in between the normalized relational database and how entities may be mapped within the business object? For example, let's say there is an Invoice BO, where you are going to store the custid in the invoice table, but not the customers address. Does your GetInvoice() return a flattened dataset (for the invoice header), containing the customer address, or does the dataset have separate tables containing all of the relationships that might exist in an Invoice?

It definitely depends on what you're doing with the data ... for reporting or maybe for displaying in a grid, perhaps having it all in one table is good. But for the most part (for data entry) I try to keep the tables intact, so I'd have a DataSet containing several tables rather than de-normalizing it all into one table.

~~Bonnie
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