Archived Content
I just added this gem to NHibernate.Linq (of the NHContrib variety – not to be confused with that other one). I’ll let the test speak for itself:
My specific reason for adding this has to do with a custom ICriterion
(more on that later) I needed to use in one of our criteria queries that I wanted to expose as an IQueryable
. This method of being able to build a linq query from an arbitrary criteria seemed to solve my problem rather elegantly.
Let me know if you think this is crazy or if you like.
As of now, it is available in the trunk r1099.