Freigeben über


CoreLoggerExtensions.ConflictingKeylessAndKeyAttributesWarning Methode

Definition

Überlädt

ConflictingKeylessAndKeyAttributesWarning(IDiagnosticsLogger<DbLoggerCategory.Model>, IProperty)

Protokolle für das ConflictingKeylessAndKeyAttributesWarning Ereignis.

ConflictingKeylessAndKeyAttributesWarning(IDiagnosticsLogger<DbLoggerCategory.Model>, IReadOnlyProperty)

Protokolle für das ConflictingKeylessAndKeyAttributesWarning Ereignis.

ConflictingKeylessAndKeyAttributesWarning(IDiagnosticsLogger<DbLoggerCategory.Model>, IProperty)

Protokolle für das ConflictingKeylessAndKeyAttributesWarning Ereignis.

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)

Parameter

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Model>

Die zu verwendende Diagnose-Protokollierung.

property
IProperty

Die Eigenschaft, die als Teil eines Schlüssels definiert wird.

Gilt für:

ConflictingKeylessAndKeyAttributesWarning(IDiagnosticsLogger<DbLoggerCategory.Model>, IReadOnlyProperty)

Protokolle für das ConflictingKeylessAndKeyAttributesWarning Ereignis.

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)

Parameter

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Model>

Die zu verwendende Diagnose-Protokollierung.

property
IReadOnlyProperty

Die Eigenschaft, die als Teil eines Schlüssels definiert wird.

Gilt für: