Compartir a través de


CoreLoggerExtensions.RequiredAttributeOnSkipNavigation Método

Definición

Sobrecargas

RequiredAttributeOnSkipNavigation(IDiagnosticsLogger<DbLoggerCategory.Model>, IReadOnlySkipNavigation)

Registra el RequiredAttributeOnSkipNavigation evento.

RequiredAttributeOnSkipNavigation(IDiagnosticsLogger<DbLoggerCategory.Model>, ISkipNavigation)

Registra el RequiredAttributeOnSkipNavigation evento.

RequiredAttributeOnSkipNavigation(IDiagnosticsLogger<DbLoggerCategory.Model>, IReadOnlySkipNavigation)

Source:
CoreLoggerExtensions.cs
Source:
CoreLoggerExtensions.cs
Source:
CoreLoggerExtensions.cs
Source:
CoreLoggerExtensions.cs

Registra el RequiredAttributeOnSkipNavigation evento.

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

Parámetros

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Model>

Registrador de diagnóstico que se va a usar.

navigation
IReadOnlySkipNavigation

La propiedad de navegación.

Se aplica a

RequiredAttributeOnSkipNavigation(IDiagnosticsLogger<DbLoggerCategory.Model>, ISkipNavigation)

Source:
CoreLoggerExtensions.cs

Registra el RequiredAttributeOnSkipNavigation evento.

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

Parámetros

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Model>

Registrador de diagnóstico que se va a usar.

navigation
ISkipNavigation

La propiedad de navegación.

Se aplica a