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


CoreLoggerExtensions.NonNullableInverted Метод

Определение

Внимание!

Теперь этот API является нерекомендуемым.

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

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

Параметры

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Model>

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

navigation
INavigation

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

Атрибуты

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