|
Select the tables and views to map Topic updated 26-4-2007 |
|
After creating a new BO-Layer project, the tables and views to be mapped must be selected. A BO-Layer project based on the NHibernate Templates generates a layer of business objects mapped to tables and views in the database. method1
method 2
method 3 (advanced)
All three methods described above open the Select Tables & Views window. This allows you to select database entities that will be mapped to business objects in your BO-Layer project.
You can apply automatic selections using the Select menu.
When you're done making your selection of tables and views click the OK button.
GenWise now adds business objects for all selected tables and views to your BO-Layer. The Project Explorer shows all these items.
Notice that most items appear in dark red. This means that they haven't been generated yet. Items will also appear in dark red if they have been changed, and the generated source code that belongs to the item needs regeneration.
|