Partilhar via


CoreLoggerExtensions.RequiredAttributeOnCollection Método

Definição

Sobrecargas

RequiredAttributeOnCollection(IDiagnosticsLogger<DbLoggerCategory.Model>, IReadOnlyNavigation)

Logs do RequiredAttributeOnCollection evento.

RequiredAttributeOnCollection(IDiagnosticsLogger<DbLoggerCategory.Model>, INavigation)

Logs do RequiredAttributeOnCollection evento.

RequiredAttributeOnCollection(IDiagnosticsLogger<DbLoggerCategory.Model>, IReadOnlyNavigation)

Origem:
CoreLoggerExtensions.cs
Origem:
CoreLoggerExtensions.cs
Origem:
CoreLoggerExtensions.cs
Origem:
CoreLoggerExtensions.cs
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>

O agente diagnóstico a ser usado.

navigation
IReadOnlyNavigation

A propriedade de navegação.

Aplica-se a

RequiredAttributeOnCollection(IDiagnosticsLogger<DbLoggerCategory.Model>, INavigation)

Origem:
CoreLoggerExtensions.cs
Origem:
CoreLoggerExtensions.cs
Origem:
CoreLoggerExtensions.cs
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>

O agente diagnóstico a ser usado.

navigation
INavigation

A propriedade de navegação.

Aplica-se a