-
Notifications
You must be signed in to change notification settings - Fork 6
/
README.txt
35 lines (30 loc) · 1.11 KB
/
README.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
*************************************
** **
** A better Code Generator **
** **
*************************************
Contains:
- A CodeGenerator library
- A ConsoleApp client
- A full testsuite to run the tests
Usage:
- compile the solution
- copy the generated exe (and CodeGenerator.dll) to the generator/ folder
- review the config file to make sure you are using the correct connection string.
- run CodeGenerator-console, passing it the table names and (optionally) the files you want to generate.
e.g.
> CodeGenerator-console --tableNames EXAMPLETABLE1 EXAMPLETABLE2 --fileTypes DAL Entity DALTests
- run "compile" to check that everything compiles.
- run "test" to compile and run the tests
- "clean_testsuite" resets the testsuite to its initial status
- "clean_results" removes the results folder so you don't have to
ASSUMPTIONS
- There is a package named "PKG_" + the tablename in the database.
- It contains *at least* the following procedures:
- PR_GET
- PR_GET_ALL
- PR_UPDATE
- PR_INSERT
- PR_DELETE
LIMITATIONS
- Only works in Oracle