Partilhar via


CoreStrings.InheritedPropertyCannotBeIgnored(Object, Object, Object) Método

Definição

A propriedade '{property}' não pode ser ignorada no tipo '{type}' porque é declarada no tipo base '{baseType}'. Para excluir essa propriedade do modelo, use o atributo [NotMapped] ou 'Ignore' no tipo base em '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

Parâmetros

property
Object
entityTypetype
Object
baseEntityTypebaseType
Object

Retornos

Aplica-se a