共用方式為


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

傳回

適用於