Build the BO-Layer

Topic updated 11-6-2007

Select the tables and views to map ArrowLeft

ArrowRight Save the BO-Layer project

When a BO-Layer project has been created and some tables and/or views have been selected for mapping, the project can be built. This will generate all the source code and then compile it.

First, we'll set the generation directory where GenWise should generate source code for the BO-Layer project.
 

main_buidfirstapp-25

 

Hint:
Use a subdirectory from the project directory you created in step 4, when you saved your Database Repository. Call the subdirectory BO_Layer, which is the default name that GenWise uses for a generation directory for a BO-Layer project, or use another name that clearly indicates what the directory is for.
 
The generation directory can be cleaned automatically by GenWise Studio, and at each generation files will get overwritten. This is why you should have a dedicated generation directory for each project.

 

Click the Build icon on the Build Toolbar, this makes the Build Page for the BO-Layer project appear.

main_buidfirstapp-26

 

Click on the Build button. This starts the process of generating the source code for your BO-Layer, and then compiling it.

main_buidfirstapp-27

 

Wait for the build process to finish.

main_buidfirstapp-28

 

Notice that after a successful build all project items of the BO-Layer now appear in black in the Project Explorer. This indicates that the generated source code is up-to-date.

main_buidfirstapp-29