-
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
Query: 'SUM' is not a recognized built-in function name when using coalese #7103
Comments
Can you please share the SQL that is run against the database. |
I can't, visual studio crash when i try to use quickwatch |
You can use SQL Profiler in SQL Management Studio as an easy way to have a profiler running in the background. |
Thanks for the tip, anyway:
|
We should verify if this is a regression and move to 1.2.0 if it is not. |
This did not work in 1.0.1 release too. (same exception). Not a regression. Moving to milestone 1.2.0 |
As a work-around: |
I know but if i select an object in this way (example below) i can't. db.mytable |
PROBLEM FOUND: NULLABLE FIELD
Hello, i'm trying to sum the values of a query but i get this error.
Basically the query is this: db.mytable.where(x=> x.id < 5).sum(x=> x.decimalfield ?? 0)
Can someone help me?
Details below.
Thanks
Further technical details
EF Core version: 1.1
Operating system: Win10 - SqlServer2014
Visual Studio version: 2015
The text was updated successfully, but these errors were encountered: