Apache log4net� SDK Documentation - Microsoft .NET Framework 4.0

AdoNetAppender.UseTransactions Property

Should transactions be used to insert logging events in the database.

[Visual�Basic]
Public�Property�UseTransactions�As�Boolean
[C#]
public�bool�UseTransactions�{get;�set;}

Property Value

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

AdoNetAppender Class | log4net.Appender Namespace