語言

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

傳回

適用於