CoreStrings.FieldNameMismatch(Object, Object, Object) Method

Definition

The specified field '{field}' cannot be used for the property '{entityType}.{property}' because it does not match the property name. Entity type properties that aren't associated with a CLR property must match the field name exactly.

C#
public static string FieldNameMismatch (object field, object entityType, object property);
C#
public static string FieldNameMismatch (object? field, object? entityType, object? property);

Parameters

field
Object
entityType
Object
property
Object

Returns

Applies to

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