Udostępnij za pośrednictwem


CoreLoggerExtensions.ConflictingKeylessAndKeyAttributesWarning Metoda

Definicja

Przeciążenia

ConflictingKeylessAndKeyAttributesWarning(IDiagnosticsLogger<DbLoggerCategory.Model>, IProperty)

Rejestruje zdarzenie ConflictingKeylessAndKeyAttributesWarning .

ConflictingKeylessAndKeyAttributesWarning(IDiagnosticsLogger<DbLoggerCategory.Model>, IReadOnlyProperty)

Rejestruje zdarzenie ConflictingKeylessAndKeyAttributesWarning .

ConflictingKeylessAndKeyAttributesWarning(IDiagnosticsLogger<DbLoggerCategory.Model>, IProperty)

Źródło:
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>

Rejestrator diagnostyczny do użycia.

property
IProperty

Właściwość, która jest definiowana jako część klucza.

Dotyczy

ConflictingKeylessAndKeyAttributesWarning(IDiagnosticsLogger<DbLoggerCategory.Model>, IReadOnlyProperty)

Źródło:
CoreLoggerExtensions.cs
Źródło:
CoreLoggerExtensions.cs
Źródło:
CoreLoggerExtensions.cs
Źródło:
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>

Rejestrator diagnostyczny do użycia.

property
IReadOnlyProperty

Właściwość, która jest definiowana jako część klucza.

Dotyczy