Hi,
There is no need for a special application (like NConstruct builder) for reverse engineering when using NHibernate. There are already tools for it in a NHibernate itself. You can read more about it in NHibernate documentation here:
http://www.nhforge.org/doc/nh/en/index.html#toolsetguide-s1http://nhforge.org/blogs/nhibernate/archive/2008/12/15/customizing-schema-export-with-schema-action.aspxA Test driven development example can be found here:
http://nhforge.org/wikis/howtonh/your-first-nhibernate-based-application.aspxShort description would be:
You create your data classes (similar like in Code First on Entity Framework 4.1) and their mapping and call:
Quote:var schemaExport = new SchemaExport(config);
schemaExport.Create(...);
You do not need an application for that!
There are also two other ways to create your database but there is a decent
learning curve for both options:
1. You can use Fluent NHibernate:
http://wiki.fluentnhibernate.org/Auto_mapping2. Or you can use ConfORM:
http://code.google.com/p/codeconform/Hope this helps.
Best regards,
Sebastijan Pistotnik
_______________________
NConstruct Support Team
support@nconstruct.comhttp://www.nconstruct.com_______________________