Initializes an instance of the PersistentGenericBag<(Of T>)
that wraps an existing IList<(Of T>) in the session.
Namespace: NHibernate.Collection.Generic
Assembly: NHibernate (in NHibernate)
Version: 1.2.0.4000
Syntax
| Visual Basic (Declaration) |
|---|
Public Sub New ( _ session As ISessionImplementor, _ coll As IList(Of T) _ ) |
| C# |
|---|
public PersistentGenericBag ( ISessionImplementor session, IList<T> coll ) |
| Visual C++ |
|---|
public: PersistentGenericBag ( ISessionImplementor^ session, IList<T>^ coll ) |
Parameters
- session
- NHibernate.Engine.ISessionImplementor
The ISessionImplementor the bag is in.
- coll
- System.Collections.Generic.IList<(Of T>)
The IList<(Of T>) to wrap.