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

[release/7.0] Support entities with owned types in ExecuteUpdate setter property lambda #29723

Merged
merged 1 commit into from
Jan 4, 2023

Conversation

roji
Copy link
Member

@roji roji commented Dec 1, 2022

Fixes #28727, backports #29672

Description

The logic for verifying and handling property selectors for ExecuteUpdate does not take into account owned entities.

Customer impact

ExecuteUpdate does not work when the entity being updated has an owned entity (even if the update doesn't affect that owned entity).

How found

Customer reported on 7.0

Regression

No.

Testing

Added a test for the affected scenario.

Risk

Low; the fix is quite trivial, and a quirk was added to revert back to older behavior.

@roji roji requested a review from a team December 1, 2022 08:25
@roji roji changed the base branch from main to release/7.0 December 1, 2022 08:25
@rbhanda rbhanda added this to the 7.0.3 milestone Dec 6, 2022
@wtgodbe wtgodbe merged commit 043a351 into dotnet:release/7.0 Jan 4, 2023
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.

ExecuteUpdate fails when target entity has an owned entity
4 participants