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: Implement First/Single/Last OrDefault throwing behavior #17291

Merged
merged 1 commit into from
Aug 21, 2019

Conversation

smitpatel
Copy link
Member

Subquery produces top(1) for Single/SingleOrDefault
Single/First/SingleOrDefault in subquery is treated as if FirstOrDefault
Last/LastOrDefault throws when there is no ordering on SelectExpression to reverse
Resolves #15559

Subquery produces top(1) for Single/SingleOrDefault
Single/First/SingleOrDefault in subquery is treated as if FirstOrDefault
Last/LastOrDefault throws when there is no ordering on SelectExpression to reverse
Resolves #15559
@smitpatel smitpatel merged commit 730471d into release/3.0-preview9 Aug 21, 2019
@ghost ghost deleted the smit/throwSingleOrDefault branch August 21, 2019 01:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants