Partager via


CoreLoggerExtensions.RequiredAttributeOnCollection Méthode

Définition

Surcharges

RequiredAttributeOnCollection(IDiagnosticsLogger<DbLoggerCategory.Model>, IReadOnlyNavigation)

Journaux de l’événement RequiredAttributeOnCollection .

RequiredAttributeOnCollection(IDiagnosticsLogger<DbLoggerCategory.Model>, INavigation)

Journaux de l’événement RequiredAttributeOnCollection .

RequiredAttributeOnCollection(IDiagnosticsLogger<DbLoggerCategory.Model>, IReadOnlyNavigation)

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

Journaux de l’événement 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)

Paramètres

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Model>

Enregistreur d’diagnostics à utiliser.

navigation
IReadOnlyNavigation

Propriété de navigation.

S’applique à

RequiredAttributeOnCollection(IDiagnosticsLogger<DbLoggerCategory.Model>, INavigation)

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

Journaux de l’événement 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)

Paramètres

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Model>

Enregistreur d’diagnostics à utiliser.

navigation
INavigation

Propriété de navigation.

S’applique à