Initializes an instance of the PersistentGenericMap<(Of <(TKey, TValue>)>)
that wraps an existing IDictionary<(Of <(TKey, TValue>)>) in the
session.
Namespace:
NHibernate.Collection.GenericAssembly: NHibernate (in NHibernate.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Sub New ( _ session As ISessionImplementor, _ map As IDictionary(Of TKey, TValue) _ ) |
C# |
---|
public PersistentGenericMap( ISessionImplementor session, IDictionary<TKey, TValue> map ) |
Visual C++ |
---|
public: PersistentGenericMap( ISessionImplementor^ session, IDictionary<TKey, TValue>^ map ) |
JavaScript |
---|
NHibernate.Collection.Generic.PersistentGenericMap = function(session, map); |
Parameters
- session
- Type: NHibernate.Engine..::.ISessionImplementor
The ISessionImplementor the bag is in.
- map
- Type: System.Collections.Generic..::.IDictionary<(Of <(TKey, TValue>)>)
The IDictionary<(Of <(TKey, TValue>)>) to wrap.