Closed GoogleCodeExporter closed 9 years ago
Original comment by shannon....@gmail.com
on 23 Mar 2009 at 9:58
When the CodeSmith NHibernate templates generate, they create two Manager files
for
each manager object, an editable file and a .generated file. The editable file
starts
out blank for editing, but the generated file has basic get methods already
generated
for you.
These managers actually use Criterion objects for their logic, but both
Criterion and
Query methods (as well as all other NHibernate methods) are available to the
user.
We have recently updated our NHibernate templates to version 1.0.14, and
uploaded a
complete working sample project for the PetShop database into our repository.
This sample project contains examples of how to use the generated get methods,
as
well as writing your own custom queries.
Please check out our sample project for more details:
trunk/Templates/Examples/NHibernate
If you are still experiencing a problem where the templates are not generating
the
appropriate content, please post again with more details on how to reproduce
the issue.
Original comment by tdupont...@gmail.com
on 24 Mar 2009 at 7:00
Original comment by shannon....@gmail.com
on 7 Oct 2009 at 4:06
Original issue reported on code.google.com by
rogelio....@gmail.com
on 22 Mar 2009 at 12:53