Sdílet prostřednictvím


IDbConnectionInterceptor.Opening Metoda

Definice

Volá se před Open() nebo je vyvolán jeho asynchronní protějšek.

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)

Parametry

connection
DbConnection

Otevírá se připojení.

interceptionContext
DbConnectionInterceptionContext

Kontextové informace spojené s voláním.

Platí pro