CoreStrings.InvalidAlternateKeyValue(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.
Unable to track an entity of type '{entityType}' because alternate key property '{keyProperty}' is null. If the alternate key is not used in a relationship, then consider using a unique index instead. Unique indexes may contain nulls, while alternate keys may not.
public static string InvalidAlternateKeyValue(object? entityType, object? keyProperty);
public static string InvalidAlternateKeyValue(object entityType, object keyProperty);
static member InvalidAlternateKeyValue : obj * obj -> string
Public Shared Function InvalidAlternateKeyValue (entityType As Object, keyProperty As Object) As String
Parameters
- entityType
- Object
- keyProperty
- Object