共用方式為


CoreLoggerExtensions.MultipleInversePropertiesSameTargetWarning 方法

定義

public static void MultipleInversePropertiesSameTargetWarning (this Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model> diagnostics, System.Collections.Generic.IEnumerable<Tuple<System.Reflection.MemberInfo,Type>> conflictingNavigations, System.Reflection.MemberInfo inverseNavigation, Type targetType);
public static void MultipleInversePropertiesSameTargetWarning (this Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model> diagnostics, System.Collections.Generic.IEnumerable<Tuple<System.Reflection.MemberInfo?,Type>> conflictingNavigations, System.Reflection.MemberInfo inverseNavigation, Type targetType);
static member MultipleInversePropertiesSameTargetWarning : Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model> * seq<System.Reflection.MemberInfo * Type> * System.Reflection.MemberInfo * Type -> unit
<Extension()>
Public Sub MultipleInversePropertiesSameTargetWarning (diagnostics As IDiagnosticsLogger(Of DbLoggerCategory.Model), conflictingNavigations As IEnumerable(Of Tuple(Of MemberInfo, Type)), inverseNavigation As MemberInfo, targetType As Type)

參數

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Model>

要使用的診斷記錄器。

conflictingNavigations
IEnumerable<Tuple<MemberInfo,Type>>

衝突導覽屬性的清單。

inverseNavigation
MemberInfo

反向導覽屬性。

targetType
Type

目標型別。

適用於