Freigeben über


CoreLoggerExtensions.NonDefiningInverseNavigationWarning Methode

Definition

Achtung

Diese API ist nun veraltet.

Protokolle für das NonDefiningInverseNavigationWarning Ereignis.

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)

Parameter

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Model>

Die zu verwendende Diagnose-Protokollierung.

declaringType
IEntityType

Der deklarierende Entitätstyp.

navigation
MemberInfo

Die Navigationseigenschaft.

targetType
IEntityType

Der Zieltyp.

inverseNavigation
MemberInfo

Die inverse Navigationseigenschaft.

definingNavigation
MemberInfo

Die definierende Navigationseigenschaft.

Attribute

Gilt für: