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#
void AddUnownedCollection(
	CollectionKey key,
	IPersistentCollection collection
)
Visual Basic
Sub AddUnownedCollection ( _
	key As CollectionKey, _
	collection As IPersistentCollection _
)
Visual C++
void AddUnownedCollection(
	CollectionKey^ key, 
	IPersistentCollection^ collection
)

Parameters

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

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

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

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

See Also