Partager via


RelationalLoggerExtensions.OptionalDependentWithoutIdentifyingPropertyWarning Méthode

Définition

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

Paramètres

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Model.Validation>

Journal diagnostics à utiliser.

entityType
IEntityType

Type d'entité.

S’applique à