IDbConnectionInterceptor.Opened Method

Definition

Called after Open() or its async counterpart is invoked.

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

Parameters

connection
DbConnection

The connection that was opened.

interceptionContext
DbConnectionInterceptionContext

Contextual information associated with the call.

Applies to