OxyGen Code Generator Overview
Table of Contents
Previous Topic: Creating Code Generation Projects  
Next Topic: Appendix A – Processing Instruction Types
1. Open OxyGen Code Management Studio.
2. In the Connect to Server dialog specify the Server Name, the Authentication mode, user credentials (if SQL Server Authentication is selected), and then click the Connect button.
The Database
Explorer tree control is populated with the databases for the
specified server. Accessible databases are depicted by an enabled cylinder (
)
while the databases that are not accessible are depicted by a disabled cylinder
(
).
|
|
|
In Windows Vista, some of the databases may be not accessible if Windows Authentication is selected and the application does not run under an administrator role. |

Figure 64: Source Code Session Selection dialog box

Figure 65: Source Code Explorer
8. To publish generated code click the Publish menu item and choose what kind of files you want to publish. If you want to publish only a specific part of generated code (i.e. only Stored Procedures ) click Publish\Publish Stored Procedure files…. If you want to choose some specific files from all generated files click the Publish\Publish Code Generator Session… menu item. The Publish Generated Code dialog box is displayed as shown in “Figure 66: Publish Generated Code dialog”. Select the generated code files and choose the destination folder.

Figure 66: Publish Generated Code dialog
9. Check files that you want to publish in a specified folder. Click the OK button to publish the selected files. The following screen shot shows the Publish Generated Code Progress dialog box.

Figure 67: Publish Generated Code Progress bar.
10. Selected files were copied to specified folder. If you previously published files to the specified folder, the publication mechanism replaces all files in the Generated folders. The content of the Custom folders is not replaced. The generator will not replace or delete methods in any file contained by the Intercepts folder and inject additional methods that are not already defined, into the matching files within this folder.
OxyGen Code Generator Overview
Table of Contents
Previous Topic: Creating Code Generation Projects  
Next Topic: Appendix A – Processing Instruction Types