共用方式為


RelationalStrings.DuplicateForeignKeyDeleteBehaviorMismatch 方法

定義

'{entityType1}' 上的外鍵 {foreignKeyProperties1}' 和 '{entityType2}' 上的 {foreignKeyProperties2} 都對應至 '{table}。{foreignKeyName}',但設定了不同的刪除行為 ('{deleteBehavior1}' 和 '{deleteBehavior2}') 。

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

參數

index1foreignKeyProperties1
Object
entityType1
Object
index2foreignKeyProperties2
Object
entityType2
Object
table
Object
foreignKeyName
Object
deleteBehavior1
Object
deleteBehavior2
Object

傳回

適用於