Share via


IDbConnectionInterceptor.DatabaseGetting Method

Definition

Called before Database is retrieved.

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

Parameters

connection
DbConnection

The connection.

interceptionContext
DbConnectionInterceptionContext<String>

Contextual information associated with the call.

Applies to