-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update client eval page for 3.0 #1648
Comments
Resolves#615 Resolves#1636 Resolves#1648 Resolves#1699 Resolves#1777
Resolves#615 Resolves#1636 Resolves#1648 Resolves#1699 Resolves#1777
Resolves#615 Resolves#1636 Resolves#1648 Resolves#1699 Resolves#1777
Resolves#615 Resolves#1636 Resolves#1648 Resolves#1699 Resolves#1777
Resolves#615 Resolves#1636 Resolves#1648 Resolves#1699 Resolves#1777
Resolves#615 Resolves#1636 Resolves#1648 Resolves#1699 Resolves#1777
Resolves#615 Resolves#1636 Resolves#1648 Resolves#1699 Resolves#1777
I updated to add AsEnumerable/AsAsyncEnumerable. Does anyone know any benefits of ToList/ToListAsync? |
No multiple evaluation when used again? |
Right, though I see people also doing ToList/ToListAsync even when enumerating only once, which is an anti-pattern (needless memory for buffering). We should ideally explain these nuances. |
Resolves#615 Resolves#1636 Resolves#1648 Resolves#1699 Resolves#1777
Resolves#615 Resolves#1636 Resolves#1648 Resolves#1699 Resolves#1777
Resolves#615 Resolves#1636 Resolves#1648 Resolves#1699 Resolves#1777
ToList also fetches the data immediately. This may be necessary if the underlying cursor cannot stay open while doing other queries on the same connection, or if the enumeration being iterated will be changed (less relevant for database queries). |
Points to cover:
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
The text was updated successfully, but these errors were encountered: