CoreStrings.SeedDatumDuplicate(Object, Object) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
實體類型 '{entityType}' 的種子實體無法新增,因為 {keyProperties} 的另一個具有相同鍵值的種子實體已被新增。 可以考慮使用 'DbContextOptionsBuilder.EnableSensitiveDataLogging' 來查看這些相互衝突的鍵值。
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
參數
- entityType
- Object
- keyProperties
- Object