Add a collection which has no owner loaded

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

Syntax

C#
public void AddUnownedCollection(
	CollectionKey key,
	IPersistentCollection collection
)
Visual Basic
Public Sub AddUnownedCollection ( _
	key As CollectionKey, _
	collection As IPersistentCollection _
)
Visual C++
public:
virtual void AddUnownedCollection(
	CollectionKey^ key, 
	IPersistentCollection^ collection
) sealed

Parameters

key
Type: NHibernate.Engine..::..CollectionKey

[Missing <param name="key"/> documentation for "M:NHibernate.Engine.StatefulPersistenceContext.AddUnownedCollection(NHibernate.Engine.CollectionKey,NHibernate.Collection.IPersistentCollection)"]

collection
Type: NHibernate.Collection..::..IPersistentCollection

[Missing <param name="collection"/> documentation for "M:NHibernate.Engine.StatefulPersistenceContext.AddUnownedCollection(NHibernate.Engine.CollectionKey,NHibernate.Collection.IPersistentCollection)"]

Implements

IPersistenceContext..::..AddUnownedCollection(CollectionKey, IPersistentCollection)

See Also