TransactionHandler.Opening Method (DbConnection, DbConnectionInterceptionContext)

 

Can be implemented in a derived class.

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

public virtual void Opening(
	DbConnection connection,
	DbConnectionInterceptionContext interceptionContext
)

Parameters

connection
Type: System.Data.Common.DbConnection

The connection being opened.

interceptionContext
Type: System.Data.Entity.Infrastructure.Interception.DbConnectionInterceptionContext

The contextual information associated with the call.