-
Notifications
You must be signed in to change notification settings - Fork 56
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
UpdateFromQuery fails using related entity with inheritance (EF and EF Core) #484
Comments
davidnemeti
changed the title
UpdateFromQuery fails using related entity with inheritance
UpdateFromQuery fails using related entity with inheritance (EF and EF Core)
Apr 27, 2022
Hello @davidnemeti , Unfortunately, that's currently unsupported. However, we are currently working hard to recode some parts of our library to be able to handle more complex scenarios like this one. I cannot provide any expected date but I believe it will come during this summer. Best Regards, Jon |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
UpdateFromQuery
fails when using related entity if the updated entity is of a derived entity type.Note that if inheritance is not involved, then it succeeds in EF, but still fails in EF Core.
Exception
Fiddle or Project (Optional)
EF
https://dotnetfiddle.net/hPWCcL
EF Core
https://dotnetfiddle.net/g4Rq0T
Further technical details
The text was updated successfully, but these errors were encountered: