Compartir a través de


CoreLoggerExtensions.RequiredAttributeOnCollection Método

Definición

Sobrecargas

RequiredAttributeOnCollection(IDiagnosticsLogger<DbLoggerCategory.Model>, IReadOnlyNavigation)

Registros del RequiredAttributeOnCollection evento.

RequiredAttributeOnCollection(IDiagnosticsLogger<DbLoggerCategory.Model>, INavigation)

Registros del RequiredAttributeOnCollection evento.

RequiredAttributeOnCollection(IDiagnosticsLogger<DbLoggerCategory.Model>, IReadOnlyNavigation)

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

Registros del RequiredAttributeOnCollection evento.

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

Parámetros

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Model>

Registrador de diagnóstico que se va a usar.

navigation
IReadOnlyNavigation

La propiedad de navegación.

Se aplica a

RequiredAttributeOnCollection(IDiagnosticsLogger<DbLoggerCategory.Model>, INavigation)

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

Registros del RequiredAttributeOnCollection evento.

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

Parámetros

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Model>

Registrador de diagnóstico que se va a usar.

navigation
INavigation

La propiedad de navegación.

Se aplica a