Entity Framework 6, what is faster for deletion raws with conditions: IQueryable or IEnumerable?

后端 未结 0 1049
死守一世寂寞
死守一世寂寞 2021-01-14 15:40

For example, there is a table with 100k rows and we should delete ~10k from the table by conditions. Which way is faster:

  1. IQueryable and then .Take().Delete()
相关标签:
回答
  • 消灭零回复
提交回复
热议问题