OxyGen Code Generator Overview. 4   Table of Contents. 4
Previous Topic: Bulk Delete Processing Instructions. 4   Next Topic: Creating Code Generation Projects. 4

 

Exploring the Code Generated in Prior Sessions

  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 ().

NoteNote

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.

  1. Click the Tools\Source Code Explorer menu item. Select the output folder where the source code has been generated.
  2. Click OK to open the list of source code sessions. The Source Code Session Selection dialog box is displayed (as shown in the following screen shot) if there is at least one code generated session in this folder.

 

Figure 44: Source Code Session Selection dialog box

  1. Select a code generated session for the list view.
  2. Click OK to open the selected code generated session or Cancel to discard the action and close the dialog.
  3. Source Code Explorer dialog box is displayed as shown in “Figure 45: Source Code Explorer”.

 

Figure 45: Source Code Explorer

  1. Click the Code Summary tab page to get the list of source code files that were generated and their associated metrics (e.g. number of classes, delegates, interfaces, number of lines of code etc.).

 

  1. Click the Stored Procedures tab page to explore the stored procedures that were generated.

Figure 46: Stored Procedures page


 

  1. Click the Data Entities, Caching Files, Data Provider, Business Entities or ASP.NET tab page to explore the C# source code that was generated.

Figure 47: Data Entities tab page


OxyGen Code Generator Overview. 4   Table of Contents. 4
Previous Topic: Bulk Delete Processing Instructions. 4   Next Topic: Creating Code Generation Projects. 4