CoreStrings.InvalidKeyValue(Object, Object) 方法

定义

无法跟踪类型为“{entityType}”的实体,因为其主键属性“{keyProperty}”为 null。

public static string InvalidKeyValue (object entityType, object keyProperty);
public static string InvalidKeyValue (object? entityType, object? keyProperty);
static member InvalidKeyValue : obj * obj -> string
Public Shared Function InvalidKeyValue (entityType As Object, keyProperty As Object) As String

参数

entityType
Object
keyProperty
Object

返回

适用于