Udostępnij za pośrednictwem


IDbConnectionInterceptor.Opening Metoda

Definicja

Wywoływane jest wywołanie przed Open() lub jego odpowiednik asynchroniczny.

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

Połączenie jest otwierane.

interceptionContext
DbConnectionInterceptionContext

Informacje kontekstowe skojarzone z wywołaniem.

Dotyczy