CoreStrings.SeedDatumDuplicate(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 seed entity for entity type '{entityType}' cannot be added because another seed entity with the same key value for {keyProperties} has already been added. Consider using 'DbContextOptionsBuilder.EnableSensitiveDataLogging' to see the conflicting key values.
public static string SeedDatumDuplicate (object entityType, object keyProperties);
public static string SeedDatumDuplicate (object? entityType, object? keyProperties);
static member SeedDatumDuplicate : obj * obj -> string
Public Shared Function SeedDatumDuplicate (entityType As Object, keyProperties As Object) As String
Parameters
- entityType
- Object
- keyProperties
- 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