Udostępnij za pośrednictwem


IDbConnectionInterceptor.StateGetting Metoda

Definicja

Wywołanie przed State pobraniem.

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

Parametry

connection
DbConnection

Połączenie.

interceptionContext
DbConnectionInterceptionContext<ConnectionState>

Informacje kontekstowe skojarzone z wywołaniem.

Dotyczy