Sprache

IDbConnectionInterceptor.Opening Methode

Definition

Wird aufgerufen, bevor Open() oder sein asynchrones Gegenstück aufgerufen wird.

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

Parameter

connection
DbConnection

Die geöffnete Verbindung.

interceptionContext
DbConnectionInterceptionContext

Kontextbezogene Informationen, die dem Anruf zugeordnet sind.

Gilt für: