- Understanding Database Decomposition
- Adding an XML Schema to Your Project
- Exploring Schema Designing Tools
- Visually Defining a Schema
- Defining Master Detail Relationships
- Generating the Typed DataSet from the Schema
- Using the Typed DataSet
- Summary
Generating the Typed DataSet from the Schema
After adding tables and relationships to the Schema Designerwith the XML being generated at the same timeyou can generate the Schema as a typed DataSet. Select Schema, Generate DataSet from the main menu to generate the typed DataSet. Click the Show All button in the Solution Explorer to see the generated source code file.
Figure 7 The Schema Designer tool generated the ProductOrders.cs source file.
You can explore the generated source code file if you are interested, but it is nice that you can let Visual Studio .NET manage this code for you.