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

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

Syntax

Visual Basic (Declaration)
Public Sub New ( _
	session As ISessionImplementor, _
	list As IList _
)
C#
public PersistentList(
	ISessionImplementor session,
	IList list
)
Visual C++
public:
PersistentList(
	ISessionImplementor^ session, 
	IList^ list
)
JavaScript
NHibernate.Collection.PersistentList = function(session, list);

Parameters

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

See Also