Partilhar via


IDbConnectionInterceptor.Closing Método

Definição

Chamado antes Close() de ser invocado.

public void Closing (System.Data.Common.DbConnection connection, System.Data.Entity.Infrastructure.Interception.DbConnectionInterceptionContext interceptionContext);
abstract member Closing : System.Data.Common.DbConnection * System.Data.Entity.Infrastructure.Interception.DbConnectionInterceptionContext -> unit
Public Sub Closing (connection As DbConnection, interceptionContext As DbConnectionInterceptionContext)

Parâmetros

connection
DbConnection

A conexão que está sendo fechada.

interceptionContext
DbConnectionInterceptionContext

Informações contextuais associadas à chamada.

Aplica-se a