Home > Net >  Ask a simple EF multiple records query problem
Ask a simple EF multiple records query problem

Time:11-21

Use EF queries, simply use the Find direct check Id, now there is a small problem, there are several Id, put in a List, is must use the Find found out one by one, or what is more simple and rapid method? Create a temporary table about performance, more quickly than strips to check?

CodePudding user response:

It is not obvious once found out is better? Don't use temporary table, if the list have tens of thousands of id when I didn't say so,
  •  Tags:  
  • LINQ
  • Related