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

Query: Sum should return zero for empty collections regardless of the type #800

Closed
divega opened this issue Oct 6, 2014 · 4 comments
Closed
Assignees
Labels
closed-fixed The issue has been fixed and is/will be included in the release indicated by the issue milestone. type-bug
Milestone

Comments

@divega
Copy link
Contributor

divega commented Oct 6, 2014

This is to match the behavior of LINQ to Objects and expectation expressed here:

https://entityframework.codeplex.com/workitem/2449
http://data.uservoice.com/forums/72025/suggestions/2410716
http://stackoverflow.com/questions/3274196

@smitpatel
Copy link
Member

@maumar - Is this something we already did or tracking somewhere else?

@maumar
Copy link
Contributor

maumar commented Aug 15, 2017

somewhat related to #6061

@anpete
Copy link
Contributor

anpete commented Oct 10, 2017

Verified this is already working.

@anpete anpete added the closed-fixed The issue has been fixed and is/will be included in the release indicated by the issue milestone. label Oct 10, 2017
@anpete
Copy link
Contributor

anpete commented Oct 10, 2017

Scratch that, I see that we don't return 0 for nullable types.

@anpete anpete removed the closed-fixed The issue has been fixed and is/will be included in the release indicated by the issue milestone. label Oct 10, 2017
@anpete anpete closed this as completed in 4bb6c38 Oct 11, 2017
@divega divega added the closed-fixed The issue has been fixed and is/will be included in the release indicated by the issue milestone. label Nov 20, 2017
@ajcvickers ajcvickers modified the milestones: 2.1.0-preview1, 2.1.0 Nov 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
closed-fixed The issue has been fixed and is/will be included in the release indicated by the issue milestone. type-bug
Projects
None yet
Development

No branches or pull requests

6 participants