语言

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

定义

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

返回

适用于