CoreStrings.KeyWrongType(Object, Object, Object) Method

Definition

The key {keyProperties} cannot be removed from the entity type '{entityType}' because it is defined on the entity type '{otherEntityType}'.

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

Parameters

keykeyProperties
Object
otherEntityTypeentityType
Object
entityTypeotherEntityType
Object

Returns

Applies to