CoreStrings.PropertyWrongName(Object, Object, Object) Method

Definition

The property '{property}' cannot be added to the type '{type}' because it doesn't match the name of the provided CLR property or field '{clrName}'. Use the same name or specify a different CLR member.

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

Parameters

property
Object
entityTypetype
Object
clrName
Object

Returns

Applies to

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