CoreStrings.ForeignKeyReferencedEntityKeyMismatch(Object, Object) 方法

定义

提供的主体密钥 {principalKeyProperties} 不是实体类型“{principalEntityType}”上的键。 提供在主体实体类型上定义的键。

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

参数

principalKeyprincipalKeyProperties
Object
principalEntityType
Object

返回

适用于