Writes the events to the database using the transaction specified.
Namespace: log4net.AppenderAssembly: log4net (in log4net.dll) Version: 1.2.15.0 (1.2.15.0)
Syntax
Parameters
- dbTran
- Type: System.Data IDbTransaction
The transaction that the events will be executed under.
- events
- Type: log4net.Core LoggingEvent
The array of events to insert into the database.
Remarks
The transaction argument can be null if the appender has been configured not to use transactions. See UseTransactions property for more information.
See Also