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

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

Syntax

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

Parameters

session
Type: NHibernate.Engine..::.ISessionImplementor
collection
Type: ISet<(Of <(T>)>)

Remarks

Only call this constructor if you consider the map initialized.

See Also