Constructs a PersistentContext, bound to the given session.

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

Syntax

C#
public StatefulPersistenceContext(
	ISessionImplementor session
)
Visual Basic
Public Sub New ( _
	session As ISessionImplementor _
)
Visual C++
public:
StatefulPersistenceContext(
	ISessionImplementor^ session
)

Parameters

session
Type: NHibernate.Engine..::..ISessionImplementor
The session "owning" this context.

See Also