Changes for page Best Practices-Model

Last modified by Theodore Petrosky on 2014/02/20 18:51

From version 34.1
edited by arroz
on 2007/12/20 12:03
Change comment: There is no comment for this version
To version 32.1
edited by arroz
on 2008/02/03 17:36
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -42,6 +42,14 @@
42 42  
43 43  (The other fields are not relevant for the prototype definition)
44 44  
45 +You can create your own prototype definitions, or use WONDER's.
46 +
47 +To create your own prototypes, you need to create a special entity in a model file called ##EOJDBCPrototypes##. It's recommended that you create a new model file with just the prototype entity, and place that file in a new, empty framework. This way you can share the same prototypes with all of your projects, and you may switch between prototype frameworks to use different databases without making any modification on your application.
48 +
49 +WONDER prototype framework, ERPrototypes, has different prototype entities, one for each database. The one for Postgresql framework is called ##EOJDBCPostgresqlPrototypes## and so on. To use those prototypes, just link your project with ERPrototypes after installing WONDER. Then, on your model database configuration, choose the right prototype in the appropriate menu:
50 +
51 +[[image:prototypeSelection.png]]
52 +
45 45  eogenerator
46 46  
47 47  to-many relationships