WarningsConfiguration.GetBehavior(EventId) Método

Definición

Obtiene el WarningBehavior conjunto para el identificador de evento especificado o null si no se ha establecido ningún comportamiento explícito.

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

Devoluciones

Se aplica a