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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Entity Framework