CoreStrings.UnknownKeyValue(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 '{entityType}.{property}' is unknown when attempting to save changes. This is because the property is also part of a foreign key for which the principal entity in the relationship is not known.
public static string UnknownKeyValue (object entityType, object property);
public static string UnknownKeyValue (object? entityType, object? property);
static member UnknownKeyValue : obj * obj -> string
Public Shared Function UnknownKeyValue (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