Freigeben über


CoreLoggerExtensions.MultipleInversePropertiesSameTargetWarning Methode

Definition

Protokolle für das MultipleInversePropertiesSameTargetWarning Ereignis.

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)

Parameter

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Model>

Die zu verwendende Diagnose-Protokollierung.

conflictingNavigations
IEnumerable<Tuple<MemberInfo,Type>>

Die Liste der in Konflikt stehenden Navigationseigenschaften.

inverseNavigation
MemberInfo

Die umgekehrte Navigationseigenschaft.

targetType
Type

Der Zieltyp.

Gilt für: