Skip to content
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

Microsoft.EntityFramework.Core 3.1.10 and Microsoft.OData.Core 7.7.3 #23704

Closed
athinadev opened this issue Dec 16, 2020 · 5 comments
Closed

Microsoft.EntityFramework.Core 3.1.10 and Microsoft.OData.Core 7.7.3 #23704

athinadev opened this issue Dec 16, 2020 · 5 comments

Comments

@athinadev
Copy link

Hello,

we've recently moved our projects from EntityFramework 6.4.4 to Microsoft.EntityFramework.Core 3.1.10 and there is an issue regarding the use of oData. When we send a query with group by we are getting the Exception.
System.InvalidOperationException: EF.Property called with wrong property name. at Microsoft.EntityFrameworkCore.Query.RelationalSqlTranslatingExpressionVisitor.VisitMethodCall(MethodCallExpression methodCallExpression)

I have posted the issue to oData community and they said, that this is an EntityFramework.Core issue.
Other oData Clients say that the same problem has EntityFramework.Core 5.

Please see the last comments in oData Community here and provide a solution.
OData/WebApi#2015

We wait longer than 6 months for this issue to get fixed.

Thanks in advance

@iozcelik
Copy link

This issue also continiue at EF Core 5. We move project to EF Core 5 from EF 6 and stuck here. Group by and aggregation is not working. Even simple one.

@keatkeat87
Copy link

We are facing the same problem, EF Core 5, does anyone have a workaround/direction for this ?

@iozcelik
Copy link

I don't understand why anyone from ef core team give a date? Lots of people move their project to .net core. Also mean to ef core. This issue priority have to high.

@skarpovru
Copy link

This is a known issue since at least 2018: #12088

@ajcvickers
Copy link
Contributor

@athinadev @iozcelik @keatkeat87 We are tracking several issues that will improve GroupBy support--see area-groupby . These are scheduled for the next release of EF Core, which is EF Core 6.0 in November 2021.

@ajcvickers ajcvickers reopened this Oct 16, 2022
@ajcvickers ajcvickers closed this as not planned Won't fix, can't repro, duplicate, stale Oct 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants