DbConnectionInterceptor.ConnectionClosed Método

Definição

Chamado logo após o EF ter chamado Close() em um contexto assíncrono.

public virtual void ConnectionClosed (System.Data.Common.DbConnection connection, Microsoft.EntityFrameworkCore.Diagnostics.ConnectionEndEventData eventData);
abstract member ConnectionClosed : System.Data.Common.DbConnection * Microsoft.EntityFrameworkCore.Diagnostics.ConnectionEndEventData -> unit
override this.ConnectionClosed : System.Data.Common.DbConnection * Microsoft.EntityFrameworkCore.Diagnostics.ConnectionEndEventData -> unit
Public Overridable Sub ConnectionClosed (connection As DbConnection, eventData As ConnectionEndEventData)

Parâmetros

connection
DbConnection

A conexão.

eventData
ConnectionEndEventData

Informações contextuais sobre a conexão.

Implementações

Aplica-se a