共用方式為


CoreStrings.KeyPropertiesWrongEntity(Object, Object) 方法

定義

指定的索引鍵屬性 {keyProperties} 不會在實體類型 '{entityType}' 上宣告。 確定在目標實體類型上宣告索引鍵屬性。

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

傳回

適用於