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


CoreLoggerExtensions.NonOwnershipInverseNavigationWarning Метод

Определение

Перегрузки

NonOwnershipInverseNavigationWarning(IDiagnosticsLogger<DbLoggerCategory.Model>, IReadOnlyEntityType, MemberInfo, IReadOnlyEntityType, MemberInfo, MemberInfo)

Журналы для NonOwnershipInverseNavigationWarning события.

NonOwnershipInverseNavigationWarning(IDiagnosticsLogger<DbLoggerCategory.Model>, IEntityType, MemberInfo, IEntityType, MemberInfo, MemberInfo)

Журналы для NonOwnershipInverseNavigationWarning события.

NonOwnershipInverseNavigationWarning(IDiagnosticsLogger<DbLoggerCategory.Model>, IReadOnlyEntityType, MemberInfo, IReadOnlyEntityType, MemberInfo, MemberInfo)

Исходный код:
CoreLoggerExtensions.cs
Исходный код:
CoreLoggerExtensions.cs
Исходный код:
CoreLoggerExtensions.cs
Исходный код:
CoreLoggerExtensions.cs

Журналы для NonOwnershipInverseNavigationWarning события.

public static void NonOwnershipInverseNavigationWarning (this Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model> diagnostics, Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType declaringType, System.Reflection.MemberInfo navigation, Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType targetType, System.Reflection.MemberInfo inverseNavigation, System.Reflection.MemberInfo ownershipNavigation);
static member NonOwnershipInverseNavigationWarning : Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model> * Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType * System.Reflection.MemberInfo * Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType * System.Reflection.MemberInfo * System.Reflection.MemberInfo -> unit
<Extension()>
Public Sub NonOwnershipInverseNavigationWarning (diagnostics As IDiagnosticsLogger(Of DbLoggerCategory.Model), declaringType As IReadOnlyEntityType, navigation As MemberInfo, targetType As IReadOnlyEntityType, inverseNavigation As MemberInfo, ownershipNavigation As MemberInfo)

Параметры

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Model>

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

declaringType
IReadOnlyEntityType

Объявляющий тип сущности.

navigation
MemberInfo

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

targetType
IReadOnlyEntityType

Тип целевого объекта.

inverseNavigation
MemberInfo

Обратное свойство навигации.

ownershipNavigation
MemberInfo

Свойство навигации владельца.

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

NonOwnershipInverseNavigationWarning(IDiagnosticsLogger<DbLoggerCategory.Model>, IEntityType, MemberInfo, IEntityType, MemberInfo, MemberInfo)

Исходный код:
CoreLoggerExtensions.cs
Исходный код:
CoreLoggerExtensions.cs
Исходный код:
CoreLoggerExtensions.cs

Журналы для NonOwnershipInverseNavigationWarning события.

public static void NonOwnershipInverseNavigationWarning (this Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model> diagnostics, Microsoft.EntityFrameworkCore.Metadata.IEntityType declaringType, System.Reflection.MemberInfo navigation, Microsoft.EntityFrameworkCore.Metadata.IEntityType targetType, System.Reflection.MemberInfo inverseNavigation, System.Reflection.MemberInfo ownershipNavigation);
static member NonOwnershipInverseNavigationWarning : Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model> * Microsoft.EntityFrameworkCore.Metadata.IEntityType * System.Reflection.MemberInfo * Microsoft.EntityFrameworkCore.Metadata.IEntityType * System.Reflection.MemberInfo * System.Reflection.MemberInfo -> unit
<Extension()>
Public Sub NonOwnershipInverseNavigationWarning (diagnostics As IDiagnosticsLogger(Of DbLoggerCategory.Model), declaringType As IEntityType, navigation As MemberInfo, targetType As IEntityType, inverseNavigation As MemberInfo, ownershipNavigation As MemberInfo)

Параметры

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Model>

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

declaringType
IEntityType

Объявляющий тип сущности.

navigation
MemberInfo

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

targetType
IEntityType

Тип целевого объекта.

inverseNavigation
MemberInfo

Обратное свойство навигации.

ownershipNavigation
MemberInfo

Свойство навигации владельца.

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