CoreStrings.SeedDatumIncompatibleValue(Object, Object, Object) Method

Definition

The seed entity for entity type '{entityType}' cannot be added because the value provided for the property '{property}' is not compatible with the property type '{type}'. Consider using 'DbContextOptionsBuilder.EnableSensitiveDataLogging' to see the involved property value.

C#
public static string SeedDatumIncompatibleValue (object entityType, object property, object type);
C#
public static string SeedDatumIncompatibleValue (object? entityType, object? property, object? type);

Parameters

entityType
Object
property
Object
type
Object

Returns

Applies to

Product Versions
Entity Framework Core 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0