CoreLoggerExtensions.IncompatibleMatchingForeignKeyProperties Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Sobrecargas
IncompatibleMatchingForeignKeyProperties(IDiagnosticsLogger<DbLoggerCategory.Model>, IReadOnlyList<IPropertyBase>, IReadOnlyList<IPropertyBase>)
- Origem:
- CoreLoggerExtensions.cs
- Origem:
- CoreLoggerExtensions.cs
Logs do IncompatibleMatchingForeignKeyProperties evento.
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))
Parâmetros
- diagnostics
- IDiagnosticsLogger<DbLoggerCategory.Model>
O agente diagnóstico a ser usado.
- foreignKeyProperties
- IReadOnlyList<IPropertyBase>
As propriedades que compõem a chave estrangeira.
- principalKeyProperties
- IReadOnlyList<IPropertyBase>
As chaves correspondentes no lado da entidade de segurança.
Aplica-se a
IncompatibleMatchingForeignKeyProperties(IDiagnosticsLogger<DbLoggerCategory.Model>, String, String, IReadOnlyList<IPropertyBase>, IReadOnlyList<IPropertyBase>)
- Origem:
- CoreLoggerExtensions.cs
Logs do IncompatibleMatchingForeignKeyProperties evento.
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))
Parâmetros
- diagnostics
- IDiagnosticsLogger<DbLoggerCategory.Model>
O agente diagnóstico a ser usado.
- dependentToPrincipalNavigationSpecification
- String
O nome da propriedade de navegação ou do tipo de entidade na extremidade dependente da relação.
- principalToDependentNavigationSpecification
- String
O nome da propriedade de navegação ou do tipo de entidade na extremidade principal da relação.
- foreignKeyProperties
- IReadOnlyList<IPropertyBase>
As propriedades que compõem a chave estrangeira.
- principalKeyProperties
- IReadOnlyList<IPropertyBase>
As chaves correspondentes no lado da entidade de segurança.
Aplica-se a
IncompatibleMatchingForeignKeyProperties(IDiagnosticsLogger<DbLoggerCategory.Model>, String, String, IReadOnlyList<IReadOnlyPropertyBase>, IReadOnlyList<IReadOnlyPropertyBase>)
- Origem:
- CoreLoggerExtensions.cs
- Origem:
- CoreLoggerExtensions.cs
- Origem:
- CoreLoggerExtensions.cs
- Origem:
- CoreLoggerExtensions.cs
Logs do IncompatibleMatchingForeignKeyProperties evento.
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))
Parâmetros
- diagnostics
- IDiagnosticsLogger<DbLoggerCategory.Model>
O agente diagnóstico a ser usado.
- dependentToPrincipalNavigationSpecification
- String
O nome da propriedade de navegação ou do tipo de entidade na extremidade dependente da relação.
- principalToDependentNavigationSpecification
- String
O nome da propriedade de navegação ou do tipo de entidade na extremidade principal da relação.
- foreignKeyProperties
- IReadOnlyList<IReadOnlyPropertyBase>
As propriedades que compõem a chave estrangeira.
- principalKeyProperties
- IReadOnlyList<IReadOnlyPropertyBase>
As chaves correspondentes no lado da entidade de segurança.
Aplica-se a
Entity Framework