Share via


CoreStrings.PropertyNotMapped(Object, Object, Object) Method

Definition

The '{propertyType}' property '{entityType}.{property}' could not be mapped because the database provider does not support this type. Consider converting the property value to a type supported by the database using a value converter. See https://aka.ms/efcore-docs-value-converters for more information. Alternately, exclude the property from the model using the '[NotMapped]' attribute or by using '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

Parameters

entityTypepropertyType
Object
propertyentityType
Object
propertyTypeproperty
Object

Returns

Applies to