Compartir a través de


RelationalLoggerExtensions.ModelValidationKeyDefaultValueWarning Método

Definición

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)

Parámetros

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Model.Validation>

Registrador de diagnóstico que se va a usar.

property
IProperty

Propiedad.

Se aplica a