Udostępnij za pośrednictwem


CoreLoggerExtensions.ConflictingShadowForeignKeysWarning Metoda

Definicja

Przeciążenia

ConflictingShadowForeignKeysWarning(IDiagnosticsLogger<DbLoggerCategory.Model>, IReadOnlyForeignKey)

Rejestruje zdarzenie ConflictingShadowForeignKeysWarning .

ConflictingShadowForeignKeysWarning(IDiagnosticsLogger<DbLoggerCategory.Model>, IForeignKey)

Rejestruje zdarzenie ConflictingShadowForeignKeysWarning .

ConflictingShadowForeignKeysWarning(IDiagnosticsLogger<DbLoggerCategory.Model>, IReadOnlyForeignKey)

Źródło:
CoreLoggerExtensions.cs
Źródło:
CoreLoggerExtensions.cs
Źródło:
CoreLoggerExtensions.cs
Źródło:
CoreLoggerExtensions.cs

Rejestruje zdarzenie ConflictingShadowForeignKeysWarning .

public static void ConflictingShadowForeignKeysWarning (this Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model> diagnostics, Microsoft.EntityFrameworkCore.Metadata.IReadOnlyForeignKey foreignKey);
static member ConflictingShadowForeignKeysWarning : Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model> * Microsoft.EntityFrameworkCore.Metadata.IReadOnlyForeignKey -> unit
<Extension()>
Public Sub ConflictingShadowForeignKeysWarning (diagnostics As IDiagnosticsLogger(Of DbLoggerCategory.Model), foreignKey As IReadOnlyForeignKey)

Parametry

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Model>

Rejestrator diagnostyczny do użycia.

foreignKey
IReadOnlyForeignKey

Klucz obcy.

Dotyczy

ConflictingShadowForeignKeysWarning(IDiagnosticsLogger<DbLoggerCategory.Model>, IForeignKey)

Źródło:
CoreLoggerExtensions.cs
Źródło:
CoreLoggerExtensions.cs
Źródło:
CoreLoggerExtensions.cs

Rejestruje zdarzenie ConflictingShadowForeignKeysWarning .

public static void ConflictingShadowForeignKeysWarning (this Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model> diagnostics, Microsoft.EntityFrameworkCore.Metadata.IForeignKey foreignKey);
static member ConflictingShadowForeignKeysWarning : Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model> * Microsoft.EntityFrameworkCore.Metadata.IForeignKey -> unit
<Extension()>
Public Sub ConflictingShadowForeignKeysWarning (diagnostics As IDiagnosticsLogger(Of DbLoggerCategory.Model), foreignKey As IForeignKey)

Parametry

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Model>

Rejestrator diagnostyczny do użycia.

foreignKey
IForeignKey

Klucz obcy.

Dotyczy