CoreStrings.InterfacePropertyNotAdded(Object, Object, Object) 方法

定义

属性“{entityType}”。{navigation}' 是 ('{propertyType}') 的接口类型。 如果是导航,请通过将其强制转换为映射的实体类型来手动配置此属性的关系。 否则,请使用 [NotMapped] 属性或“OnModelCreating”中的“Ignore”忽略属性。

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

参数

entityType
Object
navigation
Object
propertyType
Object

返回

适用于