Compartir a través de


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

Definición

No se puede omitir la propiedad '{property}' en el tipo '{type}' porque se declara en el tipo base '{baseType}'. Para excluir esta propiedad del modelo, use el atributo [NotMapped] o "Ignore" en el tipo base de "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

Devoluciones

Se aplica a