CoreStrings.FkAttributeOnPropertyNavigationMismatch 方法

定义

实体类型“{entityType}”中属性“{property}”和导航“{navigation}”上的 [ForeignKey] 属性不会相互指向。 确保属性上的 [ForeignKey] 属性的值与导航名称匹配,并且导航上的 [ForeignKey] 属性的值与外键属性名称匹配,或删除其中一个。

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

参数

property
Object
navigation
Object
entityType
Object

返回

适用于