LinqKit stack overflow exception using predicate builder
- by MLynn
I am writing an application in C# using LINQ and LINQKit. I have a very large database table with company registration numbers in it.
I want to do a LINQ query which will produce the equivalent SQL:
select * from table1 where regno in('123','456')
The 'in' clause may have thousands of terms.
First I get the company registration numbers from a…