Class DataContextInterceptor
- Namespace
- LinqToDB.Interceptors
- Assembly
- linq2db.dll
public abstract class DataContextInterceptor : IDataContextInterceptor, IInterceptor
- Inheritance
-
DataContextInterceptor
- Implements
- Extension Methods
Methods
OnClosed(DataContextEventData)
Event, triggered after IDataContext instance closed by Close() call.
public virtual void OnClosed(DataContextEventData eventData)
Parameters
eventData
DataContextEventDataAdditional data for event.
OnClosedAsync(DataContextEventData)
Event, triggered after IDataContext instance closed by CloseAsync() call.
public virtual Task OnClosedAsync(DataContextEventData eventData)
Parameters
eventData
DataContextEventDataAdditional data for event.
Returns
OnClosing(DataContextEventData)
Event, triggered before IDataContext instance closed by Close() call.
public virtual void OnClosing(DataContextEventData eventData)
Parameters
eventData
DataContextEventDataAdditional data for event.
OnClosingAsync(DataContextEventData)
Event, triggered before IDataContext instance closed by CloseAsync() call.
public virtual Task OnClosingAsync(DataContextEventData eventData)
Parameters
eventData
DataContextEventDataAdditional data for event.