Error: The value of shadow key property 'ResourceDemandChunks.Id' is unknown when attempting to save
Hey everyone! I'm stuck with this problem: The value of shadow key property 'ResourceDemandChunks.Id' is unknown when attempting to save changes. This is because shadow property values cannot be preserved when the entity is not being tracked. Consider adding the property to the entity's .NET type
this is how I register entity in db context:
CustomData
is jsonb property, in DDL it is jsonb, I absolutely no idea what happening..
1 Reply
The error only appears when I want to update properties in the entity where the
ResourceDemandChunks
are filled. If I create an entity and fill in ResourceDemandChunks
, then everything is fine and there are no errors
fixed