EF can not generate "Group by" sql ? #6245
Comments
another issue is " _Db.SomeTable.Where(s=>s.ListProperty.Sum(list=>(int?)list.IntProperty ?? 0 ) >0 ) // if there no data in [SomeTable] , Sum will return null I think EF should automatic convert |
Entity Framework Core does not translate GroupBy into SQL yet, that is a future feature. https://docs.efproject.net/en/latest/efcore-vs-ef6/features.html |
@John0King the issue with |
The part about |
Why would you guys release a half baked framework? For the sake of release? We spent hours trying to find this bug. |
@John0King, I just ran into the same issue. How did you overcome this issue with the |
@rafaelmaroxa - This is duplicate of issue #2341 GroupBy translation has been implemented in 2.1.0-preview1-final release. You can read more what is supported in first post in #2341 |
Why did you guys release am EF without this feature in the first place?!?
It was a core feature of EF.
You can't release a half finished framework code and call it a "Release"
then wait 2 major release cycle to actually fix it.
I had to go through hundreds of thousands of lines of code to make sure
group by wasn't used because noone in our organization was aware EF Core 1x
didn't support it.
Unbelievable! Irresponsible!
…On Fri, Mar 23, 2018, 3:54 PM Smit Patel ***@***.***> wrote:
@rafaelmaroxa <http:///rafaelmaroxa> - This is duplicate of issue #2341
<#2341> GroupBy
translation has been implemented in 2.1.0-preview1-final release. You can
read more what is supported in first post in #2341
<#2341>
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#6245 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ADLfIeT6FKpdz-kJYWgziVVjXBU9JIzyks5thW8NgaJpZM4JcrHm>
.
|
Steps to reproduce
The issue
this linq will generate
Further technical details
EF Core version: "Microsoft.EntityFrameworkCore.Sqlite": "1.0.0"
Operating system: windows 10 x64
The text was updated successfully, but these errors were encountered: