NHibernate 2.1.0 GA with LINQ to NHibernate and FluentNHibernate

I ran into a ver­sion­ing prob­lem when I tried to use the lat­est ver­sion of Flu­entNHiber­nate with the lat­est ver­sion of LINQ to NHiber­nate because LINQ to NHiber­nate is built using a lat­er ver­sion of the NHiber­nate bina­ries.

After doing a lit­tle search, I found a ver­sion of NHiber­nate which both LINQ to NHiber­nate and Flu­entNHiber­nate had been built against here.

So now, I can enjoy the same flu­ent inter­face to con­fig­ure NHiber­nate and the use of LINQ query like this:

var onePiece = from s in session.Linq<Series>() where s.Name == "One Piece" select s;

Liked this post? Why not support me on Patreon and help me get rid of the ads!