Wrap an instance of a collection

Namespace: NHibernate.UserTypes
Assembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)

Syntax

C#
IPersistentCollection Wrap(
	ISessionImplementor session,
	Object collection
)
Visual Basic
Function Wrap ( _
	session As ISessionImplementor, _
	collection As Object _
) As IPersistentCollection
Visual C++
IPersistentCollection^ Wrap(
	ISessionImplementor^ session, 
	Object^ collection
)

Parameters

session
Type: NHibernate.Engine..::..ISessionImplementor

[Missing <param name="session"/> documentation for "M:NHibernate.UserTypes.IUserCollectionType.Wrap(NHibernate.Engine.ISessionImplementor,System.Object)"]

collection
Type: System..::..Object

[Missing <param name="collection"/> documentation for "M:NHibernate.UserTypes.IUserCollectionType.Wrap(NHibernate.Engine.ISessionImplementor,System.Object)"]

Return Value

[Missing <returns> documentation for "M:NHibernate.UserTypes.IUserCollectionType.Wrap(NHibernate.Engine.ISessionImplementor,System.Object)"]

See Also