Udostępnij za pośrednictwem


CoreLoggerExtensions.RequiredAttributeOnSkipNavigation Metoda

Definicja

Przeciążenia

RequiredAttributeOnSkipNavigation(IDiagnosticsLogger<DbLoggerCategory.Model>, IReadOnlySkipNavigation)

Rejestruje zdarzenie RequiredAttributeOnSkipNavigation .

RequiredAttributeOnSkipNavigation(IDiagnosticsLogger<DbLoggerCategory.Model>, ISkipNavigation)

Rejestruje zdarzenie RequiredAttributeOnSkipNavigation .

RequiredAttributeOnSkipNavigation(IDiagnosticsLogger<DbLoggerCategory.Model>, IReadOnlySkipNavigation)

Źródło:
CoreLoggerExtensions.cs
Źródło:
CoreLoggerExtensions.cs
Źródło:
CoreLoggerExtensions.cs
Źródło:
CoreLoggerExtensions.cs

Rejestruje zdarzenie RequiredAttributeOnSkipNavigation .

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

Parametry

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Model>

Rejestrator diagnostyczny do użycia.

navigation
IReadOnlySkipNavigation

Właściwość nawigacji.

Dotyczy

RequiredAttributeOnSkipNavigation(IDiagnosticsLogger<DbLoggerCategory.Model>, ISkipNavigation)

Źródło:
CoreLoggerExtensions.cs

Rejestruje zdarzenie RequiredAttributeOnSkipNavigation .

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

Parametry

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Model>

Rejestrator diagnostyczny do użycia.

navigation
ISkipNavigation

Właściwość nawigacji.

Dotyczy