Quantcast
Channel: ADO.NET, Entity Framework, LINQ to SQL, NHibernate
Viewing all articles
Browse latest Browse all 1698

How to join 2 IQuerables

$
0
0

I have 2 queries which have same table joins but different where conditions. I need to compare the result of these 2 queries. Instead of saying .ToList() on each query and getting the result into memory and comparing can I join these 2 IQuerables and then perform the comparison? My goal is to hit DB only once. Please help!!


Viewing all articles
Browse latest Browse all 1698

Trending Articles