Share via


CoreStrings.InvalidAlternateKeyValue(Object, Object) Method

Definition

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

Returns

Applies to