Поделиться через


CoreLoggerExtensions.RequiredAttributeOnSkipNavigation Метод

Определение

Перегрузки

RequiredAttributeOnSkipNavigation(IDiagnosticsLogger<DbLoggerCategory.Model>, IReadOnlySkipNavigation)

Регистрирует RequiredAttributeOnSkipNavigation событие.

RequiredAttributeOnSkipNavigation(IDiagnosticsLogger<DbLoggerCategory.Model>, ISkipNavigation)

Регистрирует RequiredAttributeOnSkipNavigation событие.

RequiredAttributeOnSkipNavigation(IDiagnosticsLogger<DbLoggerCategory.Model>, IReadOnlySkipNavigation)

Регистрирует 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)

Параметры

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Model>

Используемое средство ведения журнала диагностика.

navigation
IReadOnlySkipNavigation

Свойство навигации.

Применяется к

RequiredAttributeOnSkipNavigation(IDiagnosticsLogger<DbLoggerCategory.Model>, ISkipNavigation)

Регистрирует 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)

Параметры

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Model>

Используемое средство ведения журнала диагностика.

navigation
ISkipNavigation

Свойство навигации.

Применяется к