CoreStrings.IdentityConflictSensitive(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 key value '{keyValue}' is already being tracked. When attaching existing entities, ensure that only one entity instance with a given key value is attached.
public static string IdentityConflictSensitive (object entityType, object keyValue);
public static string IdentityConflictSensitive (object? entityType, object? keyValue);
static member IdentityConflictSensitive : obj * obj -> string
Public Shared Function IdentityConflictSensitive (entityType As Object, keyValue As Object) As String
Parameters
- entityType
- Object
- keyValue
- Object
Returns
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework