CoreLoggerExtensions.ConflictingShadowForeignKeysWarning Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Overload
ConflictingShadowForeignKeysWarning(IDiagnosticsLogger<DbLoggerCategory.Model>, IReadOnlyForeignKey)
Registra l'evento 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)
Parametri
- diagnostics
- IDiagnosticsLogger<DbLoggerCategory.Model>
Logger di diagnostica da usare.
- foreignKey
- IReadOnlyForeignKey
Chiave esterna.
Si applica a
ConflictingShadowForeignKeysWarning(IDiagnosticsLogger<DbLoggerCategory.Model>, IForeignKey)
Registra l'evento 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)
Parametri
- diagnostics
- IDiagnosticsLogger<DbLoggerCategory.Model>
Logger di diagnostica da usare.
- foreignKey
- IForeignKey
Chiave esterna.
Si applica a
Collabora con noi su GitHub
L'origine di questo contenuto è disponibile in GitHub, in cui è anche possibile creare ed esaminare i problemi e le richieste pull. Per ulteriori informazioni, vedere la guida per i collaboratori.