CoreLoggerExtensions.IncompatibleMatchingForeignKeyProperties 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
IncompatibleMatchingForeignKeyProperties(IDiagnosticsLogger<DbLoggerCategory.Model>, IReadOnlyList<IPropertyBase>, IReadOnlyList<IPropertyBase>)
Registra l'evento IncompatibleMatchingForeignKeyProperties .
public static void IncompatibleMatchingForeignKeyProperties (this Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model> diagnostics, System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IPropertyBase> foreignKeyProperties, System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IPropertyBase> principalKeyProperties);
static member IncompatibleMatchingForeignKeyProperties : Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model> * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IPropertyBase> * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IPropertyBase> -> unit
<Extension()>
Public Sub IncompatibleMatchingForeignKeyProperties (diagnostics As IDiagnosticsLogger(Of DbLoggerCategory.Model), foreignKeyProperties As IReadOnlyList(Of IPropertyBase), principalKeyProperties As IReadOnlyList(Of IPropertyBase))
Parametri
- diagnostics
- IDiagnosticsLogger<DbLoggerCategory.Model>
Logger di diagnostica da usare.
- foreignKeyProperties
- IReadOnlyList<IPropertyBase>
Proprietà che costituiscono la chiave esterna.
- principalKeyProperties
- IReadOnlyList<IPropertyBase>
Chiavi corrispondenti sul lato principale.
Si applica a
IncompatibleMatchingForeignKeyProperties(IDiagnosticsLogger<DbLoggerCategory.Model>, String, String, IReadOnlyList<IPropertyBase>, IReadOnlyList<IPropertyBase>)
Registra l'evento IncompatibleMatchingForeignKeyProperties .
public static void IncompatibleMatchingForeignKeyProperties (this Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model> diagnostics, string dependentToPrincipalNavigationSpecification, string principalToDependentNavigationSpecification, System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IPropertyBase> foreignKeyProperties, System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IPropertyBase> principalKeyProperties);
static member IncompatibleMatchingForeignKeyProperties : Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model> * string * string * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IPropertyBase> * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IPropertyBase> -> unit
<Extension()>
Public Sub IncompatibleMatchingForeignKeyProperties (diagnostics As IDiagnosticsLogger(Of DbLoggerCategory.Model), dependentToPrincipalNavigationSpecification As String, principalToDependentNavigationSpecification As String, foreignKeyProperties As IReadOnlyList(Of IPropertyBase), principalKeyProperties As IReadOnlyList(Of IPropertyBase))
Parametri
- diagnostics
- IDiagnosticsLogger<DbLoggerCategory.Model>
Logger di diagnostica da usare.
- dependentToPrincipalNavigationSpecification
- String
Nome della proprietà di navigazione o del tipo di entità sulla fine dipendente della relazione.
- principalToDependentNavigationSpecification
- String
Nome della proprietà di navigazione o del tipo di entità sulla fine principale della relazione.
- foreignKeyProperties
- IReadOnlyList<IPropertyBase>
Proprietà che costituiscono la chiave esterna.
- principalKeyProperties
- IReadOnlyList<IPropertyBase>
Chiavi corrispondenti sul lato principale.
Si applica a
IncompatibleMatchingForeignKeyProperties(IDiagnosticsLogger<DbLoggerCategory.Model>, String, String, IReadOnlyList<IReadOnlyPropertyBase>, IReadOnlyList<IReadOnlyPropertyBase>)
Registra l'evento IncompatibleMatchingForeignKeyProperties .
public static void IncompatibleMatchingForeignKeyProperties (this Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model> diagnostics, string dependentToPrincipalNavigationSpecification, string principalToDependentNavigationSpecification, System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyPropertyBase> foreignKeyProperties, System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyPropertyBase> principalKeyProperties);
static member IncompatibleMatchingForeignKeyProperties : Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model> * string * string * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyPropertyBase> * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyPropertyBase> -> unit
<Extension()>
Public Sub IncompatibleMatchingForeignKeyProperties (diagnostics As IDiagnosticsLogger(Of DbLoggerCategory.Model), dependentToPrincipalNavigationSpecification As String, principalToDependentNavigationSpecification As String, foreignKeyProperties As IReadOnlyList(Of IReadOnlyPropertyBase), principalKeyProperties As IReadOnlyList(Of IReadOnlyPropertyBase))
Parametri
- diagnostics
- IDiagnosticsLogger<DbLoggerCategory.Model>
Logger di diagnostica da usare.
- dependentToPrincipalNavigationSpecification
- String
Nome della proprietà di navigazione o del tipo di entità sulla fine dipendente della relazione.
- principalToDependentNavigationSpecification
- String
Nome della proprietà di navigazione o del tipo di entità sulla fine principale della relazione.
- foreignKeyProperties
- IReadOnlyList<IReadOnlyPropertyBase>
Proprietà che costituiscono la chiave esterna.
- principalKeyProperties
- IReadOnlyList<IReadOnlyPropertyBase>
Chiavi corrispondenti sul lato principale.