-
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
Error when setting indexerProperties dictionary #21838
Comments
@YeskaNova You need to preserve the key value for |
@AndriySvyryd You say "preserve" but Data is null before I set it: It works If I change the code to
but it's a clear regression to me. I think that this should be handled under the hood by EF, we shouldn't handle ( or expose ) internal keys. |
@YeskaNova When you say this is a regression, from which version has the behavior regressed here? |
@ajcvickers It regressed after 5.0.0-rc.1.20372.13 ( it works in that version, but not in the ones after it ). |
Implement IEquatable on TypeIdentity and MemberIdentity Fixes #21838
Implement IEquatable on TypeIdentity and MemberIdentity Fixes #21838
This regression happens if we want to set the dictionary of indexer properties to a tracked entity :
Exception
Further technical details
EF Core version: 5.0.0-rc.1.20378.4
Database provider: Microsoft.EntityFrameworkCore.SqlServer
Target framework: .NET Core 5.0
Operating system: Windows
IDE: Visual Studio 2019
The text was updated successfully, but these errors were encountered: