CoreStrings.UnknownShadowKeyValue(Object, Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The value of shadow key property '{entityType}.{property}' 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. See https://aka.ms/efcore-docs-owned-collections for more information.
public static string UnknownShadowKeyValue (object? entityType, object? property);
static member UnknownShadowKeyValue : obj * obj -> string
Public Shared Function UnknownShadowKeyValue (entityType As Object, property As Object) As String
Parameters
- entityType
- Object
- property
- Object
Returns
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework