Sdílet prostřednictvím


IDbConnectionInterceptor.Opened Metoda

Definice

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

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)

Parametry

connection
DbConnection

Připojení, které se otevřelo.

interceptionContext
DbConnectionInterceptionContext

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

Platí pro