EntityFramework LINQ query count fails but query returns result. How to optimize LINQ query?

前端 未结 2 2014
余生分开走
余生分开走 2021-01-21 14:13

I have the below LINQ query that performs a self-left-outer-join. The querys looks a little complex but is simply doing a self join on itself(purpose if to join each record with

2条回答
  •  暖寄归人
    2021-01-21 14:58

    You can simply use AsParallel() to enable multithreading execution of the linq query. You should then check your tables' indexes to improve performances.

提交回复
热议问题