RelationalStrings.DuplicateForeignKeyPrincipalColumnMismatch 方法

定义

“{entityType1}”上的外键 {foreignKeyProperties1}和“{entityType2}”上的 {foreignKeyProperties2}都映射到“{table}”。{foreignKeyName}',但引用不同的主体列 ({principalColumnNames1} 和 {principalColumnNames2}) 。

public static string DuplicateForeignKeyPrincipalColumnMismatch (object index1, object entityType1, object index2, object entityType2, object table, object foreignKeyName, object principalColumnNames1, object principalColumnNames2);
public static string DuplicateForeignKeyPrincipalColumnMismatch (object foreignKeyProperties1, object entityType1, object foreignKeyProperties2, object entityType2, object table, object foreignKeyName, object principalColumnNames1, object principalColumnNames2);
public static string DuplicateForeignKeyPrincipalColumnMismatch (object? foreignKeyProperties1, object? entityType1, object? foreignKeyProperties2, object? entityType2, object? table, object? foreignKeyName, object? principalColumnNames1, object? principalColumnNames2);
static member DuplicateForeignKeyPrincipalColumnMismatch : obj * obj * obj * obj * obj * obj * obj * obj -> string
static member DuplicateForeignKeyPrincipalColumnMismatch : obj * obj * obj * obj * obj * obj * obj * obj -> string
Public Shared Function DuplicateForeignKeyPrincipalColumnMismatch (index1 As Object, entityType1 As Object, index2 As Object, entityType2 As Object, table As Object, foreignKeyName As Object, principalColumnNames1 As Object, principalColumnNames2 As Object) As String
Public Shared Function DuplicateForeignKeyPrincipalColumnMismatch (foreignKeyProperties1 As Object, entityType1 As Object, foreignKeyProperties2 As Object, entityType2 As Object, table As Object, foreignKeyName As Object, principalColumnNames1 As Object, principalColumnNames2 As Object) As String

参数

index1foreignKeyProperties1
Object
entityType1
Object
index2foreignKeyProperties2
Object
entityType2
Object
table
Object
foreignKeyName
Object
principalColumnNames1
Object
principalColumnNames2
Object

返回

适用于