CoreLoggerExtensions.IncompatibleMatchingForeignKeyProperties Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
IncompatibleMatchingForeignKeyProperties(IDiagnosticsLogger<DbLoggerCategory.Model>, IReadOnlyList<IPropertyBase>, IReadOnlyList<IPropertyBase>)
- Source:
- CoreLoggerExtensions.cs
- Source:
- CoreLoggerExtensions.cs
Journaux de l’événement 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))
Paramètres
- diagnostics
- IDiagnosticsLogger<DbLoggerCategory.Model>
Journal diagnostics à utiliser.
- foreignKeyProperties
- IReadOnlyList<IPropertyBase>
Propriétés qui composent la clé étrangère.
- principalKeyProperties
- IReadOnlyList<IPropertyBase>
Clés correspondantes côté principal.
S’applique à
IncompatibleMatchingForeignKeyProperties(IDiagnosticsLogger<DbLoggerCategory.Model>, String, String, IReadOnlyList<IPropertyBase>, IReadOnlyList<IPropertyBase>)
- Source:
- CoreLoggerExtensions.cs
Journaux de l’événement 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))
Paramètres
- diagnostics
- IDiagnosticsLogger<DbLoggerCategory.Model>
Journal diagnostics à utiliser.
- dependentToPrincipalNavigationSpecification
- String
Nom de la propriété de navigation ou du type d’entité à la fin dépendante de la relation.
- principalToDependentNavigationSpecification
- String
Nom de la propriété de navigation ou du type d’entité à la fin du principal de la relation.
- foreignKeyProperties
- IReadOnlyList<IPropertyBase>
Propriétés qui composent la clé étrangère.
- principalKeyProperties
- IReadOnlyList<IPropertyBase>
Clés correspondantes côté principal.
S’applique à
IncompatibleMatchingForeignKeyProperties(IDiagnosticsLogger<DbLoggerCategory.Model>, String, String, IReadOnlyList<IReadOnlyPropertyBase>, IReadOnlyList<IReadOnlyPropertyBase>)
- Source:
- CoreLoggerExtensions.cs
- Source:
- CoreLoggerExtensions.cs
- Source:
- CoreLoggerExtensions.cs
- Source:
- CoreLoggerExtensions.cs
Journaux de l’événement 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))
Paramètres
- diagnostics
- IDiagnosticsLogger<DbLoggerCategory.Model>
Journal diagnostics à utiliser.
- dependentToPrincipalNavigationSpecification
- String
Nom de la propriété de navigation ou du type d’entité à la fin dépendante de la relation.
- principalToDependentNavigationSpecification
- String
Nom de la propriété de navigation ou du type d’entité à la fin du principal de la relation.
- foreignKeyProperties
- IReadOnlyList<IReadOnlyPropertyBase>
Propriétés qui composent la clé étrangère.
- principalKeyProperties
- IReadOnlyList<IReadOnlyPropertyBase>
Clés correspondantes côté principal.