CoreStrings.IdentityConflictOwnedSensitive(Object, Object) Method

Definition

The instance of entity type '{entityType}' cannot be tracked because another instance with the key value '{keyValue}' is already being tracked. When replacing owned entities, modify the properties without changing the instance or detach the previous owned entity entry first.

C#
public static string IdentityConflictOwnedSensitive (object entityType, object keyValue);
C#
public static string IdentityConflictOwnedSensitive (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