Creates and binds this to the given persistence context.

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

Syntax

C#
public LoadContexts(
	IPersistenceContext persistenceContext
)
Visual Basic
Public Sub New ( _
	persistenceContext As IPersistenceContext _
)
Visual C++
public:
LoadContexts(
	IPersistenceContext^ persistenceContext
)

Parameters

persistenceContext
Type: NHibernate.Engine..::..IPersistenceContext
The persistence context to which this will be bound.

See Also