Templates are used to specify how entities are to be actually implemented. There are a variety of templates built into NBusiness that provide output for the default implementation of the business object framework. You must have a reference to the assembly that
contains the template you wish to apply to your entity then you must add the appropriate using statement.
entity test as EntityBase, EntityBaseCollection, SqlScripts
You are also able to create custom templates and in the declaration point to the Type of your template. Since templates are simply classes it is possible to inherit from existing templates if you simply want to tweak select generated code.
Compiling an entity project using esc