RelationalStrings.DuplicateSeedData(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.
A seed entity for entity type '{entityType}' has the same key value as another seed entity mapped to the same table '{table}'. Key values should be unique across seed entities. Consider using 'DbContextOptionsBuilder.EnableSensitiveDataLogging' to see the conflicting values.
public static string DuplicateSeedData (object? entityType, object? table);
static member DuplicateSeedData : obj * obj -> string
Public Shared Function DuplicateSeedData (entityType As Object, table As Object) As String
Parameters
- entityType
- Object
- table
- 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