CoreLoggerExtensions.PossibleIncorrectRequiredNavigationWithQueryFilterInteractionWarning(IDiagnosticsLogger<DbLoggerCategory.Model>, IForeignKey) Méthode

Définition

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

Paramètres

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Model.Validation>

Enregistreur d’événements de diagnostic à utiliser.

foreignKey
IForeignKey

Clé étrangère utilisée dans la navigation d’installation incorrecte.

S’applique à