CoreStrings.KeyPropertiesWrongEntity(Object, Object) 方法

定义

未在实体类型“{entityType}”上声明指定的键属性 {keyProperties}。 确保在目标实体类型上声明键属性。

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

参数

keykeyProperties
Object
entityType
Object

返回

适用于