Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Creating Typed Data Sets
Message
From
17/04/2007 13:02:51
 
 
To
16/04/2007 12:56:09
General information
Forum:
ASP.NET
Category:
ADO.NET
Miscellaneous
Thread ID:
01216337
Message ID:
01216858
Views:
17
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform