CoreStrings.DuplicateNamedIndex(Object, Object, Object, Object) Method

Definition

The index named '{indexName}' defined on properties {indexProperties} cannot be added to the entity type '{entityType}' because an index with the same name already exists on entity type '{duplicateEntityType}'.

C#
public static string DuplicateNamedIndex (object indexName, object indexProperties, object entityType, object duplicateEntityType);
C#
public static string DuplicateNamedIndex (object? indexName, object? indexProperties, object? entityType, object? duplicateEntityType);

Parameters

indexName
Object
indexProperties
Object
entityType
Object
duplicateEntityType
Object

Returns

Applies to

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