-
Notifications
You must be signed in to change notification settings - Fork 3.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
Client side GroupBy is not supported. #22743
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Moved from discussion #22239.
Question
From @karnik1110
i am trying to perform groupby() on northwind using linq
it has the following exception
System.InvalidOperationException: 'Client side GroupBy is not supported.'
refrence to tutorial page refered
https://www.entityframeworktutorial.net/querying-entity-graph-in-entity-framework.aspx
Replies
From @smitpatel
See #19929
As the error message says, it is not supported. Since GroupBy is going to get all data of Customers table on client side anyway, you can use AsEnumerable to fetch whole table and apply GroupBy on client side yourself.
From @AndriySvyryd
@smitpatel We should add that to the message
From @smitpatel
Filed #22266
The text was updated successfully, but these errors were encountered: