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!!
↧