[2.1rc]SqlException: Each GROUP BY expression must contain at least one column that is not an external reference.(translated with google) #12043
Labels
area-query
closed-fixed
The issue has been fixed and is/will be included in the release indicated by the issue milestone.
customer-reported
regression
type-bug
Milestone
Describe what is not working as expected.
If you are seeing an exception, include the full exceptions details (message and stack trace).
Steps to reproduce
Include a complete code listing (or project/solution) that we can run to reproduce the issue.
Partial code listings, or multiple fragments of code, will slow down our response or cause us to push the issue back to you to provide code to reproduce the issue.
The SQL generated is wrong, and can not be executed.
And it should be some thing like
Further technical details
EF Core version: (found in project.csproj or packages.config)
2.1.0-rc1
/2.2.0-preview1-34228
(myget)Database Provider: (e.g. Microsoft.EntityFrameworkCore.SqlServer)
Microsoft.EntityFrameworkCore.SqlServer
Operating system:
win10-x64
IDE: (e.g. Visual Studio 2017 15.4)
The text was updated successfully, but these errors were encountered: