Entering the interface of code generating in CodeAuto, choose the relevant template of DObject O/R Mapping suite, input/choose TargetPath, SchemaName etc., and then click generation button which produces the target codes as below:

Parameters:
|
Name |
Description |
|
TargetPath |
Target
path |
|
SchemaName |
The
generated schema name of OQL.Delphi query framework. An
application can include more than one database schema, SchemaName is used for
naming these schemas (advice to use abbreviation, such as "NW"
denotes "Northwind"), thus you can conveniently access query
classes in different schemas (such as NW.Order, AC.User etc…) |
DObject's persistence class codes generated by CodeAuto code generator mostly include parts as follows (take the case of assigning "NW" to SchemaName):
l NW_DO.pas: business class, in which user can write his own codes, regenerating codes will not cover the existing ones;
l NW_DO_Imp.inc: achieving section of data class, the regenerating files will cover the existing ones;
l NW_DO_Int.inc: statement section of data class and interface, every table will generate a class and an interface, the regenerating files will cover the existing ones;
l NW_Info.pas: the information of data schema and OQL query schema, the regenerating files will cover the existing ones.
Related Topics