CoreStrings.DuplicateKey(Object, Object, Object) Method

Definition

The key {keyProperties} cannot be added to the entity type '{entityType}' because a key on the same properties already exists on entity type '{duplicateEntityType}'.

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

Parameters

keykeyProperties
Object
entityType
Object
duplicateEntityType
Object

Returns

Applies to