Condividi tramite


CoreLoggerExtensions.NavigationLazyLoading Metodo

Definizione

Registra l'evento NavigationLazyLoading .

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

Parametri

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Infrastructure>

Logger di diagnostica da usare.

context
DbContext

Contesto utilizzato.

entityType
Object

Tipo di entità.

navigationName
String

Nome della proprietà di navigazione.

Si applica a