Sdílet prostřednictvím


RelationalLoggerExtensions.BoolWithDefaultWarning Metoda

Definice

Protokoly pro BoolWithDefaultWarning událost.

public static void BoolWithDefaultWarning (this Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model.Validation> diagnostics, Microsoft.EntityFrameworkCore.Metadata.IProperty property);
static member BoolWithDefaultWarning : Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model.Validation> * Microsoft.EntityFrameworkCore.Metadata.IProperty -> unit
<Extension()>
Public Sub BoolWithDefaultWarning (diagnostics As IDiagnosticsLogger(Of DbLoggerCategory.Model.Validation), property As IProperty)

Parametry

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Model.Validation>

Diagnostický protokolovací nástroj, který se má použít.

property
IProperty

Vlastnost.

Platí pro