RelationalStrings.HasDataNotSupportedForEntitiesMappedToJson(Object) Method

Definition

Can't use HasData for entity type '{entity}'. HasData is not supported for entities mapped to JSON.

C#
public static string HasDataNotSupportedForEntitiesMappedToJson (object? entity);

Parameters

entity
Object

Returns

Applies to

Product Versions
Entity Framework Core 8.0, 9.0