79446956

Date: 2025-02-18 02:09:15
Score: 1
Natty:
Report link

You need to change IEnumerable<T> records to IQueryable<T> records. IEnumerable causes you to load all your database data to memory while IQueryable is SQL. You can verify this by printing the generated SQL log.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Amos