Sdílet prostřednictvím


CoreLoggerExtensions.RequiredAttributeOnCollection Metoda

Definice

Přetížení

RequiredAttributeOnCollection(IDiagnosticsLogger<DbLoggerCategory.Model>, IReadOnlyNavigation)

Protokoly pro RequiredAttributeOnCollection událost.

RequiredAttributeOnCollection(IDiagnosticsLogger<DbLoggerCategory.Model>, INavigation)

Protokoly pro RequiredAttributeOnCollection událost.

RequiredAttributeOnCollection(IDiagnosticsLogger<DbLoggerCategory.Model>, IReadOnlyNavigation)

Zdroj:
CoreLoggerExtensions.cs
Zdroj:
CoreLoggerExtensions.cs
Zdroj:
CoreLoggerExtensions.cs
Zdroj:
CoreLoggerExtensions.cs

Protokoly pro RequiredAttributeOnCollection událost.

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)

Parametry

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Model>

Diagnostický protokolovací nástroj, který se má použít.

navigation
IReadOnlyNavigation

Vlastnost navigace.

Platí pro

RequiredAttributeOnCollection(IDiagnosticsLogger<DbLoggerCategory.Model>, INavigation)

Zdroj:
CoreLoggerExtensions.cs
Zdroj:
CoreLoggerExtensions.cs
Zdroj:
CoreLoggerExtensions.cs

Protokoly pro RequiredAttributeOnCollection událost.

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)

Parametry

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Model>

Diagnostický protokolovací nástroj, který se má použít.

navigation
INavigation

Vlastnost navigace.

Platí pro