Compartir a través de


CoreLoggerExtensions.ConflictingForeignKeyAttributesOnNavigationAndPropertyWarning Método

Definición

Sobrecargas

ConflictingForeignKeyAttributesOnNavigationAndPropertyWarning(IDiagnosticsLogger<DbLoggerCategory.Model>, INavigation, MemberInfo)

Registros del ConflictingForeignKeyAttributesOnNavigationAndPropertyWarning evento.

ConflictingForeignKeyAttributesOnNavigationAndPropertyWarning(IDiagnosticsLogger<DbLoggerCategory.Model>, IReadOnlyNavigation, MemberInfo)

Registros del ConflictingForeignKeyAttributesOnNavigationAndPropertyWarning evento.

ConflictingForeignKeyAttributesOnNavigationAndPropertyWarning(IDiagnosticsLogger<DbLoggerCategory.Model>, INavigation, MemberInfo)

public static void ConflictingForeignKeyAttributesOnNavigationAndPropertyWarning (this Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model> diagnostics, Microsoft.EntityFrameworkCore.Metadata.INavigation navigation, System.Reflection.MemberInfo property);
static member ConflictingForeignKeyAttributesOnNavigationAndPropertyWarning : Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model> * Microsoft.EntityFrameworkCore.Metadata.INavigation * System.Reflection.MemberInfo -> unit
<Extension()>
Public Sub ConflictingForeignKeyAttributesOnNavigationAndPropertyWarning (diagnostics As IDiagnosticsLogger(Of DbLoggerCategory.Model), navigation As INavigation, property As MemberInfo)

Parámetros

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Model>

Registrador de diagnóstico que se va a usar.

navigation
INavigation

La propiedad de navegación.

property
MemberInfo

Propiedad.

Se aplica a

ConflictingForeignKeyAttributesOnNavigationAndPropertyWarning(IDiagnosticsLogger<DbLoggerCategory.Model>, IReadOnlyNavigation, MemberInfo)

public static void ConflictingForeignKeyAttributesOnNavigationAndPropertyWarning (this Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model> diagnostics, Microsoft.EntityFrameworkCore.Metadata.IReadOnlyNavigation navigation, System.Reflection.MemberInfo property);
static member ConflictingForeignKeyAttributesOnNavigationAndPropertyWarning : Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model> * Microsoft.EntityFrameworkCore.Metadata.IReadOnlyNavigation * System.Reflection.MemberInfo -> unit
<Extension()>
Public Sub ConflictingForeignKeyAttributesOnNavigationAndPropertyWarning (diagnostics As IDiagnosticsLogger(Of DbLoggerCategory.Model), navigation As IReadOnlyNavigation, property As MemberInfo)

Parámetros

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Model>

Registrador de diagnóstico que se va a usar.

navigation
IReadOnlyNavigation

La propiedad de navegación.

property
MemberInfo

Propiedad.

Se aplica a