Udostępnij za pośrednictwem


CoreLoggerExtensions.NonNullableReferenceOnDependent Metoda

Definicja

Przestroga

Ten interfejs API jest już przestarzały.

Rejestruje zdarzenie NonNullableReferenceOnDependent .

public static void NonNullableReferenceOnDependent (this Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model> diagnostics, Microsoft.EntityFrameworkCore.Metadata.INavigation navigation);
[System.Obsolete]
public static void NonNullableReferenceOnDependent (this Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model> diagnostics, Microsoft.EntityFrameworkCore.Metadata.INavigation navigation);
static member NonNullableReferenceOnDependent : Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model> * Microsoft.EntityFrameworkCore.Metadata.INavigation -> unit
[<System.Obsolete>]
static member NonNullableReferenceOnDependent : Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model> * Microsoft.EntityFrameworkCore.Metadata.INavigation -> unit
<Extension()>
Public Sub NonNullableReferenceOnDependent (diagnostics As IDiagnosticsLogger(Of DbLoggerCategory.Model), navigation As INavigation)

Parametry

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Model>

Rejestrator diagnostyczny do użycia.

navigation
INavigation

Właściwość nawigacji.

Atrybuty

Dotyczy