How fast is LINQ?

前端 未结 7 1666
天涯浪人
天涯浪人 2021-01-04 23:36

I need to manipulate 100,000 - 200,000 records.
I am thinking of using LINQ (to SQL) to do this.
I know from experience that filtering dataviews is very slow.
So

相关标签:
7条回答
  • 2021-01-05 00:30

    Normally the manipulation of that many records should happen as close as possible to the db. If it where my task I would look to do it in stored procs. That me personally. Linq is yet another layer of abstraction on top of data access and while it works well for "normal" needs i.e. a few hundred entities sent to the UI it should not be thought of as a replacement for data warehouse type operations.

    0 讨论(0)
提交回复
热议问题