語言

CoreStrings.SeedDatumIncompatibleValue(Object, Object, Object) 方法

定義

實體類型 '{entityType}' 的種子實體無法新增,因為屬性 '{property}' 的值與屬性類型 '{type}' 不相容。 可以考慮使用 'DbContextOptionsBuilder.EnableSensitiveDataLogging' 來查看相關的房產價值。

public static string SeedDatumIncompatibleValue(object? entityType, object? property, object? type);
public static string SeedDatumIncompatibleValue(object entityType, object property, object type);
static member SeedDatumIncompatibleValue : obj * obj * obj -> string
Public Shared Function SeedDatumIncompatibleValue (entityType As Object, property As Object, type As Object) As String

參數

entityType
Object
property
Object
type
Object

傳回

適用於