CoreLoggerExtensions.ConflictingKeylessAndKeyAttributesWarning Método
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Sobrecargas
ConflictingKeylessAndKeyAttributesWarning(IDiagnosticsLogger<DbLoggerCategory.Model>, IProperty)
Registra el ConflictingKeylessAndKeyAttributesWarning evento.
public static void ConflictingKeylessAndKeyAttributesWarning (this Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model> diagnostics, Microsoft.EntityFrameworkCore.Metadata.IProperty property);
static member ConflictingKeylessAndKeyAttributesWarning : Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model> * Microsoft.EntityFrameworkCore.Metadata.IProperty -> unit
<Extension()>
Public Sub ConflictingKeylessAndKeyAttributesWarning (diagnostics As IDiagnosticsLogger(Of DbLoggerCategory.Model), property As IProperty)
Parámetros
- diagnostics
- IDiagnosticsLogger<DbLoggerCategory.Model>
Registrador de diagnóstico que se va a usar.
- property
- IProperty
Propiedad que se define como parte de una clave.
Se aplica a
ConflictingKeylessAndKeyAttributesWarning(IDiagnosticsLogger<DbLoggerCategory.Model>, IReadOnlyProperty)
Registra el ConflictingKeylessAndKeyAttributesWarning evento.
public static void ConflictingKeylessAndKeyAttributesWarning (this Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model> diagnostics, Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty property);
static member ConflictingKeylessAndKeyAttributesWarning : Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model> * Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty -> unit
<Extension()>
Public Sub ConflictingKeylessAndKeyAttributesWarning (diagnostics As IDiagnosticsLogger(Of DbLoggerCategory.Model), property As IReadOnlyProperty)
Parámetros
- diagnostics
- IDiagnosticsLogger<DbLoggerCategory.Model>
Registrador de diagnóstico que se va a usar.
- property
- IReadOnlyProperty
Propiedad que se define como parte de una clave.