共用方式為


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)

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)

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

擁有權導覽屬性。

適用於