Code generator should support
multiple applications frameworks, now it is hard coded for only one application
framework.
- Application framework: Application framework that will be extended
with code generation. It will also specify the code generation template library
that will be used to generate application code for all layers of application
framework. For DAL layer it will generate queries and stored procedures for the
database type specified.
My Web
Application Framework
Asp.Net MVC 2,3,4
Windows
Applications
- Project name: Name of the
project.
- Database type: Type of the database connected that will be used a
model. It will also specify and load the type of Model Container Classes (MCCs)
those will hold database schema and will be used for code generation. It will
also specify the code generation template library that will be used to generate
the database objects. For application code generation, MCCs of specified
database will be passed to the code generation templates to generate the
database specific code.
Oracle 9.0i
Oracle 10g
Oracle 11
-Database name: Name of database
that will be used as model
- Connection string: Connection
string of database
- File and folder paths: Paths of
the files and folders where the generated code will be spitted. Usually these
are not specified while creating or modifying the project but they are appended
to the project specific configuration file of the code generator. Every
application framework is needed to stored these application framework specific
code generation paths. These paths also include the Project Name specified.
These paths should not be the absolute paths having drive letters (C:\xxx\xxx\)
but these paths should be the relative to the path of the project specific
configuration file carry all stuff discussed above.