共用方式為


RelationalStrings.DuplicateForeignKeyTableMismatch 方法

定義

'{entityType1}' 上的外鍵 {foreignKeyProperties1}' 和 '{entityType2}' 上的 {foreignKeyProperties2} 兩者都對應至 '{foreignKeyName}',但在不同的資料表上宣告 ('{table1}' 和 '{table2}') 。

public static string DuplicateForeignKeyTableMismatch (object foreignKeyProperties1, object entityType1, object foreignKeyProperties2, object entityType2, object foreignKeyName, object table1, object table2);
public static string DuplicateForeignKeyTableMismatch (object? foreignKeyProperties1, object? entityType1, object? foreignKeyProperties2, object? entityType2, object? foreignKeyName, object? table1, object? table2);
static member DuplicateForeignKeyTableMismatch : obj * obj * obj * obj * obj * obj * obj -> string
Public Shared Function DuplicateForeignKeyTableMismatch (foreignKeyProperties1 As Object, entityType1 As Object, foreignKeyProperties2 As Object, entityType2 As Object, foreignKeyName As Object, table1 As Object, table2 As Object) As String

參數

foreignKeyProperties1
Object
entityType1
Object
foreignKeyProperties2
Object
entityType2
Object
foreignKeyName
Object
table1
Object
table2
Object

傳回

適用於