Sdílet prostřednictvím


CoreLoggerExtensions.ConflictingKeylessAndKeyAttributesWarning Metoda

Definice

Přetížení

ConflictingKeylessAndKeyAttributesWarning(IDiagnosticsLogger<DbLoggerCategory.Model>, IProperty)

Protokoluje událost ConflictingKeylessAndKeyAttributesWarning .

ConflictingKeylessAndKeyAttributesWarning(IDiagnosticsLogger<DbLoggerCategory.Model>, IReadOnlyProperty)

Protokoluje událost ConflictingKeylessAndKeyAttributesWarning .

ConflictingKeylessAndKeyAttributesWarning(IDiagnosticsLogger<DbLoggerCategory.Model>, IProperty)

Zdroj:
CoreLoggerExtensions.cs
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)

Parametry

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Model>

Diagnostický protokolovací nástroj, který se má použít.

property
IProperty

Vlastnost, která je definována jako součást klíče.

Platí pro

ConflictingKeylessAndKeyAttributesWarning(IDiagnosticsLogger<DbLoggerCategory.Model>, IReadOnlyProperty)

Zdroj:
CoreLoggerExtensions.cs
Zdroj:
CoreLoggerExtensions.cs
Zdroj:
CoreLoggerExtensions.cs
Zdroj:
CoreLoggerExtensions.cs
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)

Parametry

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Model>

Diagnostický protokolovací nástroj, který se má použít.

property
IReadOnlyProperty

Vlastnost, která je definována jako součást klíče.

Platí pro