WarningsConfiguration.GetBehavior(EventId) Método

Definição

Obtém o WarningBehavior conjunto para a ID de evento fornecida ou null se nenhum comportamento explícito foi definido.

public virtual Microsoft.EntityFrameworkCore.WarningBehavior? GetBehavior (Microsoft.Extensions.Logging.EventId eventId);
abstract member GetBehavior : Microsoft.Extensions.Logging.EventId -> Nullable<Microsoft.EntityFrameworkCore.WarningBehavior>
override this.GetBehavior : Microsoft.Extensions.Logging.EventId -> Nullable<Microsoft.EntityFrameworkCore.WarningBehavior>
Public Overridable Function GetBehavior (eventId As EventId) As Nullable(Of WarningBehavior)

Parâmetros

eventId
EventId

Retornos

Aplica-se a