Skip to content

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

Merged
wtgodbe merged 1 commit into
dotnet:release/7.0from
roji:release/7.0
Jan 4, 2023
Merged

wtgodbe merged 1 commit into
dotnet:release/7.0from
roji:release/7.0

Conversation

@roji

@roji roji commented Dec 1, 2022

Copy link
Copy Markdown
Member

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