views:

26

answers:

0

It looks like this question: NHibernate.Linq and MultiCriteria provides a potential way to combine using Linq to NHibernate and ICriteria together in the same query (in my case, to add fulltext search predicates to Linq to NH queries).

If you wrapped the Linq to NHibernate IQueryable<T> with your own implementation, you could even incorporate them in the flow of Linq statements

nhQueryable.Where(account => accountId == 10).Criteria(... some criteria here...)

But I'm wondering if there is some less hacky feeling way to incorporate ICriteria. Any ideas?