Sdílet prostřednictvím


CoreStrings.InheritedPropertyCannotBeIgnored(Object, Object, Object) Metoda

Definice

Vlastnost {property} nelze u typu {type} ignorovat, protože je deklarována u základního typu {baseType}. Chcete-li vyloučit tuto vlastnost z modelu, použijte atribut [NotMapped] nebo "Ignore" u základního typu v '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

Parametry

property
Object
entityTypetype
Object
baseEntityTypebaseType
Object

Návraty

Platí pro