Initializes a new instance of the TransactionScope class.

Namespace: Castle.ActiveRecord
Assembly:  Castle.ActiveRecord (in Castle.ActiveRecord.dll)
Version: 1.0.3.0

Syntax

C#
public TransactionScope(
	TransactionMode mode,
	IsolationLevel isolationLevel,
	OnDispose onDisposeBehavior
)

Parameters

mode
TransactionMode
Whatever to create a new transaction or inherits an existing one
isolationLevel
IsolationLevel
The transaction isolation level.
onDisposeBehavior
OnDispose
The on dispose behavior.

See Also