RelationalLoggerExtensions.ModelValidationKeyDefaultValueWarning Methode

Definition

Protokolle für das ModelValidationKeyDefaultValueWarning Ereignis.

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

Parameter

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Model.Validation>

Die zu verwendende Diagnose-Protokollierung.

property
IProperty

Die Eigenschaft.

Gilt für: