CoreStrings.ValueGenWithConversion(Object, Object, Object) Method

Definition

Value generation is not supported for property '{entityType}.{property}' because it has a '{converter}' converter configured. Configure the property to not use value generation using 'ValueGenerated.Never' or 'DatabaseGeneratedOption.None' and specify explicit values instead.

C#
public static string ValueGenWithConversion (object entityType, object property, object converter);
C#
public static string ValueGenWithConversion (object? entityType, object? property, object? converter);

Parameters

entityType
Object
property
Object
converter
Object

Returns

Applies to

Product Versions
Entity Framework Core 3.0, 3.1, 5.0, 6.0