Initializes an instance of the PersistentList that wraps an existing IList in the session.

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

Syntax

C#
public PersistentList(
	ISessionImplementor session,
	IList list
)
Visual Basic
Public Sub New ( _
	session As ISessionImplementor, _
	list As IList _
)
Visual C++
public:
PersistentList(
	ISessionImplementor^ session, 
	IList^ list
)

Parameters

session
Type: NHibernate.Engine..::..ISessionImplementor
The ISessionImplementor the list is in.
list
Type: System.Collections..::..IList
The IList to wrap.

See Also