KEMBAR78
Fix to #17066 - Query: Translate ElementAt(OrDefault) by maumar · Pull Request #29496 · dotnet/efcore · GitHub
Skip to content

Conversation

@maumar
Copy link
Contributor

@maumar maumar commented Nov 7, 2022

Enable member pushdown for ElementAt(OrDefault) and then handle the method in translation in a similar way to First(OrDefault) with an optional Skip(x) element.

Fixes #17066

@maumar maumar requested review from roji and smitpatel November 7, 2022 23:59
@maumar maumar force-pushed the fix17066 branch 3 times, most recently from 53e504b to 07c9771 Compare November 8, 2022 09:48
Enable member pushdown for ElementAt(OrDefault) and then handle the method in translation in a similar way to First(OrDefault) with an optional Skip(x) element.

Fixes #17066
@maumar maumar merged commit 089a035 into main Nov 16, 2022
@maumar maumar deleted the fix17066 branch November 16, 2022 22:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Query: Translate ElementAt(OrDefault)

3 participants