CoreLoggerExtensions.DetachedLazyLoadingWarning Methode

Definition

Protokolle für das DetachedLazyLoadingWarning Ereignis.

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)

Parameter

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Infrastructure>

Die zu verwendende Diagnose-Protokollierung.

context
DbContext

Der verwendete Kontext.

entityType
Object

Der Entitätstyp.

navigationName
String

Der Name der Navigationseigenschaft.

Gilt für: