CoreLoggerExtensions.RequiredAttributeOnCollection Metodo

Definizione

Overload

RequiredAttributeOnCollection(IDiagnosticsLogger<DbLoggerCategory.Model>, IReadOnlyNavigation)

Registra l'evento RequiredAttributeOnCollection .

RequiredAttributeOnCollection(IDiagnosticsLogger<DbLoggerCategory.Model>, INavigation)

Registra l'evento RequiredAttributeOnCollection .

RequiredAttributeOnCollection(IDiagnosticsLogger<DbLoggerCategory.Model>, IReadOnlyNavigation)

Registra l'evento RequiredAttributeOnCollection .

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)

Parametri

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Model>

Logger di diagnostica da usare.

navigation
IReadOnlyNavigation

Proprietà di navigazione.

Si applica a

RequiredAttributeOnCollection(IDiagnosticsLogger<DbLoggerCategory.Model>, INavigation)

Registra l'evento RequiredAttributeOnCollection .

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)

Parametri

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Model>

Logger di diagnostica da usare.

navigation
INavigation

Proprietà di navigazione.

Si applica a