Writes the events to the database using the transaction specified.
Namespace: log4net.Appender
Assembly: log4net (in log4net.dll) Version: 2.0.8.0-.NET 4.0
Syntax
Parameters
- dbTran
- Type: System.DataIDbTransaction
The transaction that the events will be executed under. - events
- Type: log4net.CoreLoggingEvent
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