Is there a way to combine the results of two IQueryable <T> with NHibernate & Linq?

I have two separate queries that return the same IQueryable, and I would like to combine them before designing. It seems that neither Union nor Concat are implemented in Linq for NHibernate? Does anyone know how I can achieve this?

+3
source share
2 answers

It's impossible. You have to do it on the client.

Example:

var allItems = queryable1.AsEnumerable().Concat(queryable2)
+4
source

@Diago Mijelshon , , , , , NHibernate .

Entity Framework , , NHibernate, .

0

Source: https://habr.com/ru/post/1759156/


All Articles