共用方式為


CoreStrings.ForeignKeyInUseSkipNavigation 方法

定義

無法從實體類型 '{entityType}' 移除外鍵 {foreignKeyProperties}',因為它是由實體類型 '{navigationEntityType}' 上的略過流覽 '{navigation}' 所參考。 必須先移除所有參考略過導覽,才能移除參考的外鍵。

public static string ForeignKeyInUseSkipNavigation (object foreigKey, object entityType, object navigation, object navigationEntityType);
public static string ForeignKeyInUseSkipNavigation (object? foreignKeyProperties, object? entityType, object? navigation, object? navigationEntityType);
static member ForeignKeyInUseSkipNavigation : obj * obj * obj * obj -> string
static member ForeignKeyInUseSkipNavigation : obj * obj * obj * obj -> string
Public Shared Function ForeignKeyInUseSkipNavigation (foreigKey As Object, entityType As Object, navigation As Object, navigationEntityType As Object) As String
Public Shared Function ForeignKeyInUseSkipNavigation (foreignKeyProperties As Object, entityType As Object, navigation As Object, navigationEntityType As Object) As String

參數

foreigKeyforeignKeyProperties
Object
entityType
Object
navigation
Object
navigationEntityType
Object

傳回

適用於