NHibernate Code-Based Mappings vs. FluentNHibernate

added by dpeterson
9/30/2011 11:20:34 AM

4 Kicks, 188 Views

Kazi Manzur Rashid shows us some side-by-side comparisons between the new code-based mappings in NHibernate and FluentNHibernate. Code-based mappings are built in to the lastest release of NHibernate; FluentNHibernate is compatible with the latest release as well.


9/30/2011 11:14:29 AM
I prefer the mappings in FluentNHibernate. Maybe I'm missing something new in the code-based mapping of NHibernate, but they seem more verbose without actually providing improvment over Fluent. I also prefer that the initializer is where you set up mappings in Fluent, vs a special Map function in the NHibernate code-based mappings.