語言

CoreStrings.SeedDatumComplexProperty(Object, Object) 方法

定義

實體類型 '{entityType}' 的種子實體無法新增,因為它設定了複雜的屬性 '{property}'。 目前播種不支援複雜屬性。 如需相關資訊,請參閱 https://github.com/dotnet/efcore/issues/31254 。 可以考慮使用 'DbContextOptionsBuilder.EnableSensitiveDataLogging' 來查看相關的屬性值。

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

參數

entityType
Object
property
Object

傳回

適用於