-
Notifications
You must be signed in to change notification settings - Fork 3.2k
ExecuteUpdate: support partial updating inside JSON documents #28766
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
Comments
cc: @maumar |
Also consider updating nested JSON arrays when working on this, both primitive and non-primitive. |
Also make sure updating the JSON column itself works (as opposed to a partial update inside it). This will probably require extra work. |
@nasisakk your Entry type seems to be a top-level entity type (as it's directly on the context), and therefore not an actual JOSN owned entity - so this doesn't seem relevant... It's also hard to see how having [JsonIgnore] would change anything here. Can you please open a separate issue with a runnable, minimal code sample? |
Things get interesting when there are multiple updates inside the same JSON document:
We could apply the same logic we're discussing for SaveChanges:
The text was updated successfully, but these errors were encountered: