Skip to end of metadata
Go to start of metadata

Code generation

If you decide against using the VS.NET plug-in you should invoke the neo generator as follows to generate the initial entity classes and the support classes:

neo.exe /user /support /r <resource path> /o <output path> <schema file>

where

  • resource path is the directory that contains the .vtl templates.
  • output path is the directory into which the class files will be written

Normally, when invoked like this, the generator does not overwrite existing entity classes.

Schema generation

To create a file containing the SQL statements to create the schema in the database invoke the neo generator as follows:

neo.exe /r <resource path> /t NeoCreateDb.vtl /o <output file> <schema file>

where

  • resource path is the directory that contains the .vtl templates.
  • output file is the name of the SQL file that will be written
Labels: