NHibernate Code-Based Mappings vs. FluentNHibernate(kazimanzurrashid.com)

submitted by dpetersondpeterson(4397) 7 months, 26 days ago

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.

1 comment |category: |Views: 119

tags: another

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:
Comments:

posted by dpetersondpeterson(4397) 7 months, 26 days ago 0

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.

Reply

information Login or create an account to comment on this story