Windows Develop Bookmark and Share   
 index > Windows Forms Data Controls and Databinding > How to automate typed dataset generation
 

How to automate typed dataset generation

We are using the typed dataset generation mechanism in Visual Studio 2005 to generate an XSD file and from that typed dataset code (in c#).

We are working from a database with half a dozen tables that thas been created using a file containing SQL CREATE TABLE statements. This is our definitive schema in the project. Once we have the database set up, we use Server Explorer in VS2005 to drop tables from the database into four XSD forms. Each XSD represents a dataset. Then we run the configure option on the tables to generate the CRUD methods for the tables in that dataset.

Wondering how we can automate this process so that the generated C# DAL is automatically created from the database using our make file?

Has anyone else wanted to do this?

Thanks,

John.
threads  Tuesday, March 27, 2007 11:22 PM
Code Smith is a code generation tool.
Ken Tucker  Wednesday, March 28, 2007 1:13 PM
The typed dataset generation is done in Visual Studio when you save the XSD file. I don't need CodeSmith. What I want to be able to do is automate this in the build process rather than doing this step manually is the Visual Studio IDE.

Not sure how my post got moved from MSDN Forums » .NET Development » XML and the .NET Framework to MSDN Forums » Windows Forms » Windows Forms Data Controls and Databinding

My Q has nothing to do with Windows Forms.
threads  Wednesday, March 28, 2007 8:43 PM

You can use google to search for other answers

Custom Search

More Threads

• drag & drop listBox whith data source ???
• PropertyGrid issue
• how to add column from datatable to datagrid view n vb 2005
• Convert Excel file to MsAccess problem
• DataGridView ColumnHeader does not center all columns
• How to - bind a datagridviewcheckbox column to datatable??
• System.NullReferenceException in DataGridView
• Datetime picker date comparision
• Advice requested: Windows Forms Binding:
• Filter for BindingListView