After reading all existing elements from the database,
add the queued elements to the underlying collection.
Namespace:
NHibernate.CollectionAssembly: NHibernate (in NHibernate.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Overridable Sub DelayedAddAll ( _ coll As ICollection, _ persister As ICollectionPersister _ ) |
C# |
---|
public virtual void DelayedAddAll( ICollection coll, ICollectionPersister persister ) |
Visual C++ |
---|
public: virtual void DelayedAddAll( ICollection^ coll, ICollectionPersister^ persister ) |
JavaScript |
---|
function delayedAddAll(coll, persister); |
Parameters
- coll
- Type: System.Collections..::.ICollection
The ICollection to add.
- persister
- Type: NHibernate.Persister.Collection..::.ICollectionPersister
The ICollectionPersister that is currently loading the collection.
Remarks
The default implementation is to throw an AssertionFailure
because most collections do not support delayed addition. If the collection
does then override this method.