Поделиться через


RelationalStrings.DuplicateForeignKeyPrincipalTableMismatch Метод

Определение

Внешние ключи {foreignKeyProperties1} в "{entityType1}" и {foreignKeyProperties2} в "{entityType2}" сопоставлены с "{table}". {foreignKeyName}, но ссылается на разные основные таблицы ("{principalTable1}" и "{principalTable2}".

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

Параметры

index1foreignKeyProperties1
Object
entityType1
Object
index2foreignKeyProperties2
Object
entityType2
Object
table
Object
foreignKeyName
Object
principalTable1
Object
principalTable2
Object

Возвращаемое значение

Применяется к