Compartilhar via


IDbConnectionInterceptor.Opening Método

Definição

Chamado antes Open() ou seu equivalente assíncrono é invocado.

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

Parâmetros

connection
DbConnection

A conexão que está sendo aberta.

interceptionContext
DbConnectionInterceptionContext

Informações contextuais associadas à chamada.

Aplica-se a