Hello guys.
Please help me in optimising the query below or suggest to me an efficient way to remove matching records from two different data tables. The below Linq query is taking 60 minutes for 50 000 transactions. Is there a way to speed it up or use a different query or activity all together
dt1.AsEnumerable.Where(Function(row) dt2.AsEnumerable.Count(Function(r) r(6).ToString+ r(7).ToString = row(6).ToString+ row(7).ToString )=1 ).CopyToDataTable()
Thanks in advance