I have been looking around for some example projects or tutorials on Linq to Nhibernate.
Does anyone know of any good ones?
I have been looking around for some example projects or tutorials on Linq to Nhibernate.
Does anyone know of any good ones?
Linq to NHibernate has not many differences from any other Linq provider, apart from not being complete or fully tested and stable.
When you import NHibernate.Linq you get an extension method .Linq() that returns a IQueryable that can be used like any other Linq collection, so from here, any good Linq tutorial or explanation can help you.
The most interesting thing that you get with Linq to NHibernate IMHO is deferred execution. That is that the database is hit when you really need the results.
Hope this helps.
How about this one: RhinoCommons, NHibernate and ASP.NET MVC Part 1 - Setup
And also this quick one: Linq to NHibernate Tutorial
Here is one I have found. It talks about a few more technologies other than LINQ to NHibernate. But I still find it good. LINQ to NHibernate
http://mhinze.com/linq-to-nhibernate-in-10-minutes/
Try http://www.hookedonlinq.com/LINQToNHibernate.ashx. You might also want to look at this question: Linq to NHibernate project status? Contributing? Lead?
Shameless plug:
http://emiajnet.blogspot.com/2009/04/fluent-nhibernate-and-linq2nhibernate.html
Hope this helps.