Creates a new PersistentSet initialized to the values in the Map. This constructor is NOT meant to be called from user code.

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

Syntax

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

Parameters

session
Type: NHibernate.Engine..::.ISessionImplementor
collection
Type: ISet

Remarks

Only call this constructor if you consider the map initialized.

See Also