TransactionHandler.DataSourceGetting Method (DbConnection, DbConnectionInterceptionContext<String>)

 

Can be implemented in a derived class.

Namespace:   System.Data.Entity.Infrastructure
Assembly:  EntityFramework (in EntityFramework.dll)

public virtual void DataSourceGetting(
	DbConnection connection,
	DbConnectionInterceptionContext<string> interceptionContext
)

Parameters

connection
Type: System.Data.Common.DbConnection

The connection.

interceptionContext
Type: System.Data.Entity.Infrastructure.Interception.DbConnectionInterceptionContext<String>

The contextual information associated with the call.