CoreStrings.IdentityConflictOwned(Object, Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The instance of entity type '{entityType}' cannot be tracked because another instance with the same key value for {keyProperties} is already being tracked. When replacing owned entities, modify the properties without changing the instance or detach the previous owned entity entry first. Consider using 'DbContextOptionsBuilder.EnableSensitiveDataLogging' to see the conflicting key values.
public static string IdentityConflictOwned (object entityType, object keyProperties);
public static string IdentityConflictOwned (object? entityType, object? keyProperties);
static member IdentityConflictOwned : obj * obj -> string
Public Shared Function IdentityConflictOwned (entityType As Object, keyProperties As Object) As String
Parameters
- entityType
- Object
- keyProperties
- Object
Returns
Applies to
Entity Framework