MySql Dataset generator problem
Posted: Mon 26 May 2008 16:16
Topic started here:
http://crlab.com/forums/viewtopic.php?t=12101
We have analysed the picture on the following link:
http://www.condoresorts.com/SS.bmp (5mb)
MySqlDataSet generator is not designed to generate DataSet.Design.cs files into another projects because:
- the destination project must not be Class Library type of projects ;
- a reference to the destination project should be added in the source project;
These restrictions make it difficult to create an N-tier application. Please consider the following scheme:
- Create two projects, say: WinFormsApp1 and ClassLib1.
- Add a typed MySqlDataSet1 to the ClassLib1.
- Create needed business rules in ClassLib1.
- Compile the solution.
- Add to the WinFormsApp1 references to the ClassLib1.dll
http://crlab.com/forums/viewtopic.php?t=12101
We have analysed the picture on the following link:
http://www.condoresorts.com/SS.bmp (5mb)
MySqlDataSet generator is not designed to generate DataSet.Design.cs files into another projects because:
- the destination project must not be Class Library type of projects ;
- a reference to the destination project should be added in the source project;
These restrictions make it difficult to create an N-tier application. Please consider the following scheme:
- Create two projects, say: WinFormsApp1 and ClassLib1.
- Add a typed MySqlDataSet1 to the ClassLib1.
- Create needed business rules in ClassLib1.
- Compile the solution.
- Add to the WinFormsApp1 references to the ClassLib1.dll