語言

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

定義

屬性為 '{entityType}。{navigation}' 屬於介面類型('{propertyType}')。 如果是導航,請手動設定此屬性的關聯,將其投射為映射實體類型。 否則,請使用 [NotMapped] 屬性忽略該屬性,或在 “OnModelCreating” 中選擇「忽略」。

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

傳回

適用於