Condividi tramite


CoreStrings.PropertyNotMapped(Object, Object, Object) Metodo

Definizione

Proprietà '{propertyType}' '{entityType}. Impossibile eseguire il mapping di {property}' perché il provider di database non supporta questo tipo. È consigliabile convertire il valore della proprietà in un tipo supportato dal database usando un convertitore di valori. Per altre informazioni, vedere https://aka.ms/efcore-docs-value-converters. In alternativa, escludere la proprietà dal modello usando l'attributo '[NotMapped]' o usando 'EntityTypeBuilder.Ignore' in 'OnModelCreating'.

public static string PropertyNotMapped (object entityType, object property, object propertyType);
public static string PropertyNotMapped (object? entityType, object? property, object? propertyType);
public static string PropertyNotMapped (object? propertyType, object? entityType, object? property);
static member PropertyNotMapped : obj * obj * obj -> string
static member PropertyNotMapped : obj * obj * obj -> string
Public Shared Function PropertyNotMapped (entityType As Object, property As Object, propertyType As Object) As String
Public Shared Function PropertyNotMapped (propertyType As Object, entityType As Object, property As Object) As String

Parametri

entityTypepropertyType
Object
propertyentityType
Object
propertyTypeproperty
Object

Restituisce

Si applica a