Share via


RelationalStrings.DuplicateSeedData(Object, Object) Method

Definition

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