I have a large dataset in my Entity Framework context - table1 and a large List<T>, I need to count same values in the table1/list1 above.
I can do it two different ways:
jointCollection=table1.union(list1)- and to check: the value oflist1.count+table1.count-jointCollection.count...- to do count on
select table1 with multi condition(list1.count)
My question is which method is more efficient?