CoreStrings.PropertyClashingNonIndexer(Object, Object) Method

Definition

The indexer property '{property}' cannot be added to the type '{type}' because the CLR type contains a member with the same name. Specify a different name or configure '{property}' as a non-indexer property.

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

Parameters

property
Object
entityTypetype
Object

Returns

Applies to

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