Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Best Practice
Message
 
À
20/07/2002 00:18:28
Information générale
Forum:
ASP.NET
Catégorie:
ADO.NET
Titre:
Divers
Thread ID:
00680747
Message ID:
00682252
Vues:
42
Because everything is new, I am not sure if anything could be labeled a "best practice"

Having said that, my opinion is that one dataset with 3 tables is the way to go. I would suggest shying away from the data adapter from filling and updating data for you. Instead, I would build classes that handle the dataset definition and the data update, create, delete, and query options for you.

From a binding standpoint, it will be easier to have 1 dataset as opposed to 3 to worry about.

I have an article coming out in the next issue of Code that begins to explore these very issues.

>What is the best practice in retrieving the data of a table and all related reference tables. For example the table [Products] in northwind database and the related reference tables [Categories] & [Suppliers].
>
>Create one dataset with all three tables?
>Create three datasets?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform