CoreLoggerExtensions.ForeignKeyAttributesOnBothPropertiesWarning 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
ForeignKeyAttributesOnBothPropertiesWarning(IDiagnosticsLogger<DbLoggerCategory.Model>, IReadOnlyNavigation, IReadOnlyNavigation, MemberInfo, MemberInfo)
- Origine:
- CoreLoggerExtensions.cs
- Origine:
- CoreLoggerExtensions.cs
- Origine:
- CoreLoggerExtensions.cs
- Origine:
- CoreLoggerExtensions.cs
Registra l'evento ForeignKeyAttributesOnBothPropertiesWarning .
public static void ForeignKeyAttributesOnBothPropertiesWarning (this Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model> diagnostics, Microsoft.EntityFrameworkCore.Metadata.IReadOnlyNavigation firstNavigation, Microsoft.EntityFrameworkCore.Metadata.IReadOnlyNavigation secondNavigation, System.Reflection.MemberInfo firstProperty, System.Reflection.MemberInfo secondProperty);
static member ForeignKeyAttributesOnBothPropertiesWarning : Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model> * Microsoft.EntityFrameworkCore.Metadata.IReadOnlyNavigation * Microsoft.EntityFrameworkCore.Metadata.IReadOnlyNavigation * System.Reflection.MemberInfo * System.Reflection.MemberInfo -> unit
<Extension()>
Public Sub ForeignKeyAttributesOnBothPropertiesWarning (diagnostics As IDiagnosticsLogger(Of DbLoggerCategory.Model), firstNavigation As IReadOnlyNavigation, secondNavigation As IReadOnlyNavigation, firstProperty As MemberInfo, secondProperty As MemberInfo)
Parametri
- diagnostics
- IDiagnosticsLogger<DbLoggerCategory.Model>
Logger di diagnostica da usare.
- firstNavigation
- IReadOnlyNavigation
La prima proprietà di spostamento.
- secondNavigation
- IReadOnlyNavigation
Seconda proprietà di spostamento.
- firstProperty
- MemberInfo
Prima proprietà.
- secondProperty
- MemberInfo
Seconda proprietà.
Si applica a
ForeignKeyAttributesOnBothPropertiesWarning(IDiagnosticsLogger<DbLoggerCategory.Model>, INavigation, INavigation, MemberInfo, MemberInfo)
- Origine:
- CoreLoggerExtensions.cs
- Origine:
- CoreLoggerExtensions.cs
- Origine:
- CoreLoggerExtensions.cs
Registra l'evento ForeignKeyAttributesOnBothPropertiesWarning .
public static void ForeignKeyAttributesOnBothPropertiesWarning (this Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model> diagnostics, Microsoft.EntityFrameworkCore.Metadata.INavigation firstNavigation, Microsoft.EntityFrameworkCore.Metadata.INavigation secondNavigation, System.Reflection.MemberInfo firstProperty, System.Reflection.MemberInfo secondProperty);
static member ForeignKeyAttributesOnBothPropertiesWarning : Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model> * Microsoft.EntityFrameworkCore.Metadata.INavigation * Microsoft.EntityFrameworkCore.Metadata.INavigation * System.Reflection.MemberInfo * System.Reflection.MemberInfo -> unit
<Extension()>
Public Sub ForeignKeyAttributesOnBothPropertiesWarning (diagnostics As IDiagnosticsLogger(Of DbLoggerCategory.Model), firstNavigation As INavigation, secondNavigation As INavigation, firstProperty As MemberInfo, secondProperty As MemberInfo)
Parametri
- diagnostics
- IDiagnosticsLogger<DbLoggerCategory.Model>
Logger di diagnostica da usare.
- firstNavigation
- INavigation
La prima proprietà di spostamento.
- secondNavigation
- INavigation
Seconda proprietà di spostamento.
- firstProperty
- MemberInfo
Prima proprietà.
- secondProperty
- MemberInfo
Seconda proprietà.