Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Creating Typed Data Sets
Message
De
17/04/2007 13:02:51
 
 
À
16/04/2007 12:56:09
Information générale
Forum:
ASP.NET
Catégorie:
ADO.NET
Divers
Thread ID:
01216337
Message ID:
01216858
Vues:
16
Craig,

Our Typed DataSets are based on entities. So, for example, I have a PersonnelDataSet (created from a Personnel.xsd). It contains all the DataTables that are necessary to process and use a Personnel entity. So, the .xsd will have tables for Personnel, PersonnelAssignments, PersonnelAdditionalInfo, PersonnelTraining, etc.etc.

Typically these different DataTables correspond to distinct tables in the database, but they don't have to. We fill all our DataSets via Stored Procs.

~~Bonnie




>I'm reading about typed data sets and wondering the best way of creating them. Is it:
>
>1. One DataSet.xsd file per table in the database
>2. One DataSet.xsd file for the entire database
>3. Something else
>
>If option 1, how do I handle related tables?
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