AdoNetAppenderUseTransactions Property Apache log4net™ SDK Documentation
Should transactions be used to insert logging events in the database.

Namespace: log4net.Appender
Assembly: log4net (in log4net.dll) Version: 2.0.8.0-.NET 4.0
Syntax

public bool UseTransactions { get; set; }

Property Value

Type: Boolean
true if transactions should be used to insert logging events in the database, otherwise false. The default value is true.
Remarks

Gets or sets a value that indicates whether transactions should be used to insert logging events in the database.

When set a single transaction will be used to insert the buffered events into the database. Otherwise each event will be inserted without using an explicit transaction.

See Also

Reference