共用方式為


RelationalLoggerExtensions.OptionalDependentWithAllNullPropertiesWarning 方法

定義

public static void OptionalDependentWithAllNullPropertiesWarning (this Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Update> diagnostics, Microsoft.EntityFrameworkCore.Update.IUpdateEntry entry);
static member OptionalDependentWithAllNullPropertiesWarning : Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Update> * Microsoft.EntityFrameworkCore.Update.IUpdateEntry -> unit
<Extension()>
Public Sub OptionalDependentWithAllNullPropertiesWarning (diagnostics As IDiagnosticsLogger(Of DbLoggerCategory.Update), entry As IUpdateEntry)

參數

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Update>

要使用的診斷記錄器。

entry
IUpdateEntry

項目。

適用於