OxyGen Code Generator Overview. 4   Table of Contents. 4
Previous Topic: Appendix A - Processing Instruction Types. 4   Next Topic: Appendix C – Wildcard Matching Rules. 4

 

Appendix B – Source Code Component Packages

This appendix describes the source code component packages.

The following combination of component packages can be selected prior to code generation:

The individual packages are described as follows:

1.       The Stored Procedure: This consists of SQL files that can be executed to create the stored procedures that operate against the database tables that are modeled.

2.       The Data Access Layer: This consists of the following C# files,

1.       The DataProvider class file

2.       The IDataProvider class file

3.       The Caching class files,and the Data Transfer Objects, one class file for each table in the database

 

3.        The Business Layer: This consists of two C# class files for each entity in the database:

1.       A primary file that contains the Domain Model entity as modeled in the database

2.       A class file that contains an empty partial class that makes it easier to extend the Domain Model entity.

4.       The Web UI (ASP.NET): This consists primarily of the following ASP.NET page types

1.       A DetailsView page: The data in the tables are viewed and modified via the Details View Control. This control is bound to an ObjectDataSource control.

2.       A FormView page: The data in the tables are viewed and modified via the Form View Control.
This control is bound to an ObjectDataSource control. The data provided by child properties are also displayed. For example, when the forms view page for Order is shown, it also includes the data from OrderDetails as a child property. The child properties are also bound to their individual ObjectDataSource controls. The display of the child properties uses the data source paging functionality of the generated code.

3.       A Site.master page: The master page for the site.

4.       A web.sitemap: AN XML site file. This is used by the navigation

5.       A css style sheet

6.       A web.config file

 

OxyGen Code Generator Overview. 4   Table of Contents. 4
Previous Topic: Appendix A - Processing Instruction Types. 4   Next Topic: Appendix C – Wildcard Matching Rules. 4