共用方式為


CoreStrings.FkAttributeOnSkipNavigation(Object, Object) 方法

定義

無法在略過導覽 '{entityType}' 上指定 [ForeignKey] 屬性。{navigation}'。 請改為在 'OnModelCreating' 中設定外鍵屬性。

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

參數

entityType
Object
navigation
Object

傳回

適用於