CoreStrings.ForeignKeyReferencedEntityKeyMismatch(Object, Object) Method

Definition

The provided principal key {principalKeyProperties} is not a key on the entity type '{principalEntityType}'. Provide a key that's defined on the principal entity type.

public static string ForeignKeyReferencedEntityKeyMismatch (object principalKey, object principalEntityType);
public static string ForeignKeyReferencedEntityKeyMismatch (object? principalKeyProperties, object? principalEntityType);
static member ForeignKeyReferencedEntityKeyMismatch : obj * obj -> string
static member ForeignKeyReferencedEntityKeyMismatch : obj * obj -> string
Public Shared Function ForeignKeyReferencedEntityKeyMismatch (principalKey As Object, principalEntityType As Object) As String
Public Shared Function ForeignKeyReferencedEntityKeyMismatch (principalKeyProperties As Object, principalEntityType As Object) As String

Parameters

principalKeyprincipalKeyProperties
Object
principalEntityType
Object

Returns

Applies to