CoreLoggerExtensions.NonOwnershipInverseNavigationWarning Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Overload
NonOwnershipInverseNavigationWarning(IDiagnosticsLogger<DbLoggerCategory.Model>, IReadOnlyEntityType, MemberInfo, IReadOnlyEntityType, MemberInfo, MemberInfo)
- Origine:
- CoreLoggerExtensions.cs
- Origine:
- CoreLoggerExtensions.cs
- Origine:
- CoreLoggerExtensions.cs
- Origine:
- CoreLoggerExtensions.cs
Registra l'evento NonOwnershipInverseNavigationWarning .
public static void NonOwnershipInverseNavigationWarning (this Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model> diagnostics, Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType declaringType, System.Reflection.MemberInfo navigation, Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType targetType, System.Reflection.MemberInfo inverseNavigation, System.Reflection.MemberInfo ownershipNavigation);
static member NonOwnershipInverseNavigationWarning : Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model> * Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType * System.Reflection.MemberInfo * Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType * System.Reflection.MemberInfo * System.Reflection.MemberInfo -> unit
<Extension()>
Public Sub NonOwnershipInverseNavigationWarning (diagnostics As IDiagnosticsLogger(Of DbLoggerCategory.Model), declaringType As IReadOnlyEntityType, navigation As MemberInfo, targetType As IReadOnlyEntityType, inverseNavigation As MemberInfo, ownershipNavigation As MemberInfo)
Parametri
- diagnostics
- IDiagnosticsLogger<DbLoggerCategory.Model>
Logger di diagnostica da usare.
- declaringType
- IReadOnlyEntityType
Tipo di entità dichiarante.
- navigation
- MemberInfo
Proprietà di navigazione.
- targetType
- IReadOnlyEntityType
Tipo di destinazione.
- inverseNavigation
- MemberInfo
Proprietà di navigazione inversa.
- ownershipNavigation
- MemberInfo
Proprietà di navigazione di proprietà.
Si applica a
NonOwnershipInverseNavigationWarning(IDiagnosticsLogger<DbLoggerCategory.Model>, IEntityType, MemberInfo, IEntityType, MemberInfo, MemberInfo)
- Origine:
- CoreLoggerExtensions.cs
- Origine:
- CoreLoggerExtensions.cs
- Origine:
- CoreLoggerExtensions.cs
Registra l'evento NonOwnershipInverseNavigationWarning .
public static void NonOwnershipInverseNavigationWarning (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 ownershipNavigation);
static member NonOwnershipInverseNavigationWarning : 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 NonOwnershipInverseNavigationWarning (diagnostics As IDiagnosticsLogger(Of DbLoggerCategory.Model), declaringType As IEntityType, navigation As MemberInfo, targetType As IEntityType, inverseNavigation As MemberInfo, ownershipNavigation As MemberInfo)
Parametri
- diagnostics
- IDiagnosticsLogger<DbLoggerCategory.Model>
Logger di diagnostica da usare.
- declaringType
- IEntityType
Tipo di entità dichiarante.
- navigation
- MemberInfo
Proprietà di navigazione.
- targetType
- IEntityType
Tipo di destinazione.
- inverseNavigation
- MemberInfo
Proprietà di navigazione inversa.
- ownershipNavigation
- MemberInfo
Proprietà di navigazione di proprietà.