OK, Let me try a different approach. This page here: http://rndnext.blogspot.com/2009/05/using-nhibernate-multicriteria-and-linq.html explains how to use the NHibernateQueryTranslator to convert a linq query to criteria. Problem is, looking at NH 3, I do not see the NHibernateQueryTranslator class. I'm guessing this was completely re- written.
So, the question becomes, rather than have dependency on the old Linq provider and NHibernateQueryTranslator , how can I use the new NH 3 Linq classes to translate a query to criteria? Basically, the end goal is to be able to add support for multi-criteria, or even better the use of Future<T>. Thanks. On Aug 27, 12:17 pm, Sal <[email protected]> wrote: > Hi Guys, > > Is there some way to use Future or other query batching with Linq and > NH? I have a linq query (for paging) that gets the total number of > records, as well as a list of entities and I'd like to issue the query > in one call. This is easy with criteria and future, but how about > Linq? -- You received this message because you are subscribed to the Google Groups "nhusers" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/nhusers?hl=en.
