语言

RelationalStrings.IncompatibleTableKeyNameMismatch 方法

定义

表“{table}”不能用于实体类型“{entityType}”,因为它用于实体类型“{otherEntityType}”,主键 {primaryKey} 的名称“{keyName}”与主键 {otherPrimaryKey} 的名称“{otherName}”不匹配。

public static string IncompatibleTableKeyNameMismatch(object? table, object? entityType, object? otherEntityType, object? keyName, object? primaryKey, object? otherName, object? otherPrimaryKey);
public static string IncompatibleTableKeyNameMismatch(object table, object entityType, object otherEntityType, object keyName, object primaryKey, object otherName, object otherPrimaryKey);
static member IncompatibleTableKeyNameMismatch : obj * obj * obj * obj * obj * obj * obj -> string
Public Shared Function IncompatibleTableKeyNameMismatch (table As Object, entityType As Object, otherEntityType As Object, keyName As Object, primaryKey As Object, otherName As Object, otherPrimaryKey As Object) As String

参数

table
Object
entityType
Object
otherEntityType
Object
keyName
Object
primaryKey
Object
otherName
Object
otherPrimaryKey
Object

返回

适用于