You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
EF Extensions version: Z.EntityFramework.Extensions 6.13.17 and Z.EntityFramework.Extensions.EFCore 6.13.17
Database Provider: SQL Server
The text was updated successfully, but these errors were encountered:
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
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.
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: