Compartir a través de


CoreLoggerExtensions.NonDefiningInverseNavigationWarning Método

Definición

Precaución

Esta API ya está en desuso.

public static void NonDefiningInverseNavigationWarning (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 definingNavigation);
[System.Obsolete]
public static void NonDefiningInverseNavigationWarning (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 definingNavigation);
static member NonDefiningInverseNavigationWarning : 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
[<System.Obsolete>]
static member NonDefiningInverseNavigationWarning : 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 NonDefiningInverseNavigationWarning (diagnostics As IDiagnosticsLogger(Of DbLoggerCategory.Model), declaringType As IEntityType, navigation As MemberInfo, targetType As IEntityType, inverseNavigation As MemberInfo, definingNavigation As MemberInfo)

Parámetros

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Model>

Registrador de diagnóstico que se va a usar.

declaringType
IEntityType

El tipo de entidad que realiza la declaración.

navigation
MemberInfo

La propiedad de navegación.

targetType
IEntityType

Tipo de destino.

inverseNavigation
MemberInfo

Propiedad de navegación inversa.

definingNavigation
MemberInfo

Propiedad de navegación que define.

Atributos

Se aplica a