A strategy for persisting a collection role. Defines a contract between the persistence strategy and the actual persistent collection framework and session. Does not define operations that are required for querying collections, or loading by outer join.

Implements persistence of a collection instance while the instance is referenced in a particular role.

This class is highly coupled to the IPersistentCollection hierarchy, since double dispatch is used to load and update collection elements.

Namespace:  NHibernate.Persister.Collection
Assembly:  NHibernate (in NHibernate.dll)

Syntax

Visual Basic (Declaration)
Public Interface ICollectionPersister
C#
public interface ICollectionPersister
Visual C++
public interface class ICollectionPersister
JavaScript
NHibernate.Persister.Collection.ICollectionPersister = function();
NHibernate.Persister.Collection.ICollectionPersister.createInterface('NHibernate.Persister.Collection.ICollectionPersister');

Remarks

May be considered an immutable view of the mapping object

See Also