Share via


CoreStrings.InheritedPropertyCannotBeIgnored(Object, Object, Object) Method

Definition

The property '{property}' cannot be ignored on type '{type}' because it's declared on the base type '{baseType}'. To exclude this property from your model, use the [NotMapped] attribute or 'Ignore' on the base type in 'OnModelCreating'.

public static string InheritedPropertyCannotBeIgnored (object property, object entityType, object baseEntityType);
public static string InheritedPropertyCannotBeIgnored (object? property, object? entityType, object? baseEntityType);
public static string InheritedPropertyCannotBeIgnored (object? property, object? type, object? baseType);
static member InheritedPropertyCannotBeIgnored : obj * obj * obj -> string
static member InheritedPropertyCannotBeIgnored : obj * obj * obj -> string
Public Shared Function InheritedPropertyCannotBeIgnored (property As Object, entityType As Object, baseEntityType As Object) As String
Public Shared Function InheritedPropertyCannotBeIgnored (property As Object, type As Object, baseType As Object) As String

Parameters

property
Object
entityTypetype
Object
baseEntityTypebaseType
Object

Returns

Applies to