Construct an initialized PersistentMap based off the values from the existing IDictionary.

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

Syntax

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

Parameters

session
Type: NHibernate.Engine..::.ISessionImplementor
The ISession the PersistentMap should be a part of.
map
Type: System.Collections..::.IDictionary
The IDictionary that contains the initial values.

See Also