Ensures that all processing actually performed by the given work will occur on a seperate transaction.

Namespace: NHibernate.Engine.Transaction
Assembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)

Syntax

C#
public static void DoIsolatedWork(
	IIsolatedWork work,
	ISessionImplementor session
)
Visual Basic
Public Shared Sub DoIsolatedWork ( _
	work As IIsolatedWork, _
	session As ISessionImplementor _
)
Visual C++
public:
static void DoIsolatedWork(
	IIsolatedWork^ work, 
	ISessionImplementor^ session
)

Parameters

work
Type: NHibernate.Engine.Transaction..::..IIsolatedWork
The work to be performed.
session
Type: NHibernate.Engine..::..ISessionImplementor
The session from which this request is originating.

See Also