Wraps a Array in a PersistentArrayHolder.
Namespace:
NHibernate.TypeAssembly: NHibernate (in NHibernate.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Overrides Function Wrap ( _ session As ISessionImplementor, _ array As Object _ ) As IPersistentCollection |
C# |
---|
public override IPersistentCollection Wrap( ISessionImplementor session, Object array ) |
Visual C++ |
---|
public: virtual IPersistentCollection^ Wrap( ISessionImplementor^ session, Object^ array ) override |
JavaScript |
---|
function wrap(session, array); |
Parameters
- session
- Type: NHibernate.Engine..::.ISessionImplementor
The ISessionImplementor for the collection to be a part of.
- array
- Type: System..::.Object
The unwrapped array.