HBM to IQueryable

2 views
Skip to first unread message

Gian Marco Gherardi

unread,
Nov 15, 2009, 2:30:28 AM11/15/09
to nhu...@googlegroups.com
I've created a repository with some Search operations. This search operation return Linq's IQueryable<DomainObject>.
This works fine if Search operation is implemented using LinqToNhibernate, but, for some complex queries, i need to use HBM.

There's a way to convert from IQuery or ICriteria to Linq's IQueryable?
Is this feature planned/possible with Linq2NHibernate?

PS: i know that i can convert any IEnumerable<T> to IQueryable<T>, but i wish to have linq's filter evaluated on the DB server.

--
Gian Marco Gherardi
Reply all
Reply to author
Forward
0 new messages