RelationalStrings.DuplicateKeyColumnMismatch 方法

定义

“{entityType1}”上的键 {keyProperties1}和“{entityType2}”上的 {keyProperties2}都映射到“{table}”。{keyName}',但使用不同的列 ({columnNames1} 和 {columnNames2}) 。

public static string DuplicateKeyColumnMismatch (object key1, object entityType1, object key2, object entityType2, object table, object keyName, object columnNames1, object columnNames2);
public static string DuplicateKeyColumnMismatch (object keyProperties1, object entityType1, object keyProperties2, object entityType2, object table, object keyName, object columnNames1, object columnNames2);
public static string DuplicateKeyColumnMismatch (object? keyProperties1, object? entityType1, object? keyProperties2, object? entityType2, object? table, object? keyName, object? columnNames1, object? columnNames2);
static member DuplicateKeyColumnMismatch : obj * obj * obj * obj * obj * obj * obj * obj -> string
static member DuplicateKeyColumnMismatch : obj * obj * obj * obj * obj * obj * obj * obj -> string
Public Shared Function DuplicateKeyColumnMismatch (key1 As Object, entityType1 As Object, key2 As Object, entityType2 As Object, table As Object, keyName As Object, columnNames1 As Object, columnNames2 As Object) As String
Public Shared Function DuplicateKeyColumnMismatch (keyProperties1 As Object, entityType1 As Object, keyProperties2 As Object, entityType2 As Object, table As Object, keyName As Object, columnNames1 As Object, columnNames2 As Object) As String

参数

key1keyProperties1
Object
entityType1
Object
key2keyProperties2
Object
entityType2
Object
table
Object
keyName
Object
columnNames1
Object
columnNames2
Object

返回

适用于