Partilhar via


IDbConnectionInterceptor.DataSourceGetting Método

Definição

Chamado antes DataSource de ser recuperado.

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

Parâmetros

connection
DbConnection

A conexão.

interceptionContext
DbConnectionInterceptionContext<String>

Informações contextuais associadas à chamada.

Aplica-se a