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

返回

适用于