Partager via


CoreLoggerExtensions.MultipleInversePropertiesSameTargetWarning Méthode

Définition

Journaux de l’événement 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)

Paramètres

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Model>

Journal diagnostics à utiliser.

conflictingNavigations
IEnumerable<Tuple<MemberInfo,Type>>

Liste des propriétés de navigation en conflit.

inverseNavigation
MemberInfo

Propriété de navigation inverse.

targetType
Type

Type cible.

S’applique à