Langue

CoreStrings.ElementNotMapped(Object, Object, Object) Method

Definition

The element type '{elementType}' of the primitive collection '{entityType}.{property}' could not be mapped because the database provider does not support this type. Consider converting the element 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 ElementNotMapped(object? elementType, object? entityType, object? property);
static member ElementNotMapped : obj * obj * obj -> string
Public Shared Function ElementNotMapped (elementType As Object, entityType As Object, property As Object) As String

Parameters

elementType
Object
entityType
Object
property
Object

Returns

Applies to