Share via


CoreStrings.InterfacePropertyNotAdded(Object, Object, Object) Method

Definition

The property '{entityType}.{navigation}' is of an interface type ('{propertyType}'). If it is a navigation, manually configure the relationship for this property by casting it to a mapped entity type. Otherwise, ignore the property using the [NotMapped] attribute or 'Ignore' in '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

Parameters

entityType
Object
navigation
Object
propertyType
Object

Returns

Applies to