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