You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If a query concludes with .ToList() or .ToArray(), EF must marshall all the elements into some buffer even if the caller makes no use of any results. Better instead to return the IEnumerable and stream the indiviual elements if/when needed and let the caller decide if/whether to produce a concrete array or list. IMHO any IRepository should likewise concentrate of the neutral IEnumerable rather than List or foo[].
Activity
fixes dotnet#31985
fixes #31985 (#32156)
Push live (#32203)