Wraps an IList<(Of <(<'T>)>)> in a PersistentGenericList<(Of <(<'T>)>)>.
Namespace: NHibernate.TypeAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
C# |
---|
public override IPersistentCollection Wrap( ISessionImplementor session, Object collection ) |
Visual Basic |
---|
Public Overrides Function Wrap ( _ session As ISessionImplementor, _ collection As Object _ ) As IPersistentCollection |
Visual C++ |
---|
public: virtual IPersistentCollection^ Wrap( ISessionImplementor^ session, Object^ collection ) override |
Parameters
- session
- Type: NHibernate.Engine..::..ISessionImplementor
The ISessionImplementor for the collection to be a part of.
- collection
- Type: System..::..Object
The unwrapped IList<(Of <(<'T>)>)>.