Share via


RelationalEventId.ConnectionDisposed Field

Definition

A database connection has been disposed. This event is only triggered when Entity Framework is responsible for disposing the connection.

public static readonly Microsoft.Extensions.Logging.EventId ConnectionDisposed;
 staticval mutable ConnectionDisposed : Microsoft.Extensions.Logging.EventId
Public Shared ReadOnly ConnectionDisposed As EventId 

Field Value

Remarks

This event is in the DbLoggerCategory.Database.Connection category.

This event uses the ConnectionEndEventData payload when used with a DiagnosticSource.

Applies to