Partager via


CoreLoggerExtensions.DetachedLazyLoadingWarning Méthode

Définition

Journaux de l’événement DetachedLazyLoadingWarning .

public static void DetachedLazyLoadingWarning (this Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Infrastructure> diagnostics, Microsoft.EntityFrameworkCore.DbContext context, object entityType, string navigationName);
public static void DetachedLazyLoadingWarning (this Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Infrastructure> diagnostics, Microsoft.EntityFrameworkCore.DbContext? context, object entityType, string navigationName);
static member DetachedLazyLoadingWarning : Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Infrastructure> * Microsoft.EntityFrameworkCore.DbContext * obj * string -> unit
<Extension()>
Public Sub DetachedLazyLoadingWarning (diagnostics As IDiagnosticsLogger(Of DbLoggerCategory.Infrastructure), context As DbContext, entityType As Object, navigationName As String)

Paramètres

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Infrastructure>

Enregistreur d’diagnostics à utiliser.

context
DbContext

Contexte utilisé.

entityType
Object

Type d'entité.

navigationName
String

Nom de la propriété de navigation.

S’applique à