-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
ExecuteUpdate does not work with owned entities #29483
Comments
I've run into this same issue on my project. Migrated most of my bulk updates to the new API but one of my tables has [Owned] entities that shows the same type of error, in my case the "ActiveMerchant" object owns a "Card" and "Rapport" which both cause the problem.
|
I hope a fix for this can make it into 7.0.1 release. Not sure how many serious projects don't have owned entities. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
File a bug
ExecuteUpdateAsync
throws when updating an entity that has owned entityThis isn't mentioned as a limitation, but prevents any project that uses Owned entities to migrate to
ExecuteUpdate
, which I suppose would be a huge issue for quite a few projects.Might be related to #28727
Include your code
Include stack traces
Include verbose output
Include provider and version information
EF Core version: 7.0.0-rtm.22511.4
Database provider: Microsoft.EntityFrameworkCore.SqlServer
Target framework: .NET 7.0
Operating system: Windows 11 22H2
IDE: Visual Studio 2022 Version 17.4.0 Preview 6.0
The text was updated successfully, but these errors were encountered: