views:

43

answers:

1

I have two separate queries that both return the same IQueryable, and I'd like to combine them prior to projection. It looks like neither Union or Concat are implemented in Linq to NHibernate? Does anyone know how I might go about achieving this?

+1  A: 

It's not possible. You'll have to do it on the client.

Example:

var allItems = queryable1.AsEnumerable().Concat(queryable2)
Diego Mijelshon