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

Add failing test which fails to SetValues of owned property #24504

Closed
wants to merge 1 commit into from

Conversation

virzak
Copy link

@virzak virzak commented Mar 24, 2021

EntityEntry<T>.CurrentValues does not contain owned properties, and so .SetValues doesn't have any effect on the owned class.

Could be related to #12118

@ajcvickers
Copy link
Contributor

@virzak The owned entity is not part of the owner entity. SetValues only works on the values of an individual entity. You will need to call it separately for any other entities in the graph, including any owned entities.

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.

2 participants