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