C# – Using MyGeneration with Fluent NHibernate

cfluent-nhibernatenhibernate

I found a fantastic template for NHibernate code generation using MyGeneration here,

http://vucetica.blogspot.com/2009/01/nhibernate-template-for-mygeneration.html

This creates XML mapping files with the extension hbm.xml.

I was wonder if anybody knows of templates which support fluent NHibernate which defines the mapping using C# files.

Thanks

Best Answer

When you are using Fluent NHiberate you needn't hbm files, you can generate them based on your domain model and conventions

Related Topic