CoreStrings.SeedDatumDuplicateSensitive(Object, Object) Method

Definition

The seed entity for entity type '{entityType}' cannot be added because another seed entity with the key value '{keyValue}' has already been added.

C#
public static string SeedDatumDuplicateSensitive (object entityType, object keyValue);
C#
public static string SeedDatumDuplicateSensitive (object? entityType, object? keyValue);

Parameters

entityType
Object
keyValue
Object

Returns

Applies to

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