Posts Tagged “NHibernate”

Unit of Work & Repository support for multiple frameworks, part 2

By | March 13, 2011

featured_placeholder

Quite a while ago I made a post about creating a unit of work and a repository that would allow me to swap between Entity Framework and NHibernate relatively quickly. In the past few weeks (or have they turned into months already?!), I received a few requests for a sample project to show how this can [...]

Read more »

NHibernate: Association references unmapped class

By | March 7, 2011

If this exception message pops up when using NHibernate, make sure to check the following: The mapping file is set as embedded resource; The name of the mapping file ends with .hbm.xml instead of .xml; I just spent two days wondering why this message kept occurring. Turns out that I had named my mapping file: [...]

Read more »

NHibernate mappings

By | March 3, 2011

I genuinely hate them! If someone knows a decent graphical editor similar to Entity Framework’s designer, please let me know!

Read more »

Replacing Entity Framework with NHibernate

By | August 17, 2010

A few weeks ago, we came to the conclusion that there are a few vital issues with Microsoft’s latest Entity Framework. I had already discovered the limitations of the designer when working with large models. To my surprise this has been a known issue for a very long time, but there no improvements have been [...]

Read more »