Struct ConnectionEventData
- Namespace
- LinqToDB.Interceptors
- Assembly
- linq2db.dll
Event arguments for IConnectionInterceptor events.
public readonly struct ConnectionEventData
- Inherited Members
- Extension Methods
Properties
DataConnection
Gets data connection associated with event.
Could be null
when used for connections, created not from DataConnection.
E.g. in provider detection logic or for some databases in bulk copy code.
public DataConnection? DataConnection { get; }