Compartir a través de


CoreLoggerExtensions.MultipleInversePropertiesSameTargetWarning Método

Definición

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)

Parámetros

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Model>

Registrador de diagnóstico que se va a usar.

conflictingNavigations
IEnumerable<Tuple<MemberInfo,Type>>

Lista de propiedades de navegación en conflicto.

inverseNavigation
MemberInfo

Propiedad de navegación inversa.

targetType
Type

Tipo de destino.

Se aplica a