Compartir a través de


IDbConnectionInterceptor.DataSourceGetting Método

Definición

Se llama antes de DataSource recuperarse.

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

La conexión.

interceptionContext
DbConnectionInterceptionContext<String>

Información contextual asociada a la llamada.

Se aplica a