Base class that stores the mapping information for <array>, <bag>, <id-bag>, <list>, <map>, and <set> collections.

Namespace:  NHibernate.Mapping
Assembly:  NHibernate (in NHibernate.dll)

Syntax

Visual Basic (Declaration)
Public MustInherit Class Collection _
	Implements IFetchable, IValue, IFilterable
C#
public abstract class Collection : IFetchable, 
	IValue, IFilterable
Visual C++
public ref class Collection abstract : IFetchable, 
	IValue, IFilterable
JavaScript
NHibernate.Mapping.Collection = function();

Type.createClass(
	'NHibernate.Mapping.Collection',
	null,
	NHibernate.Mapping.IFetchable,
	NHibernate.Mapping.IValue,
	NHibernate.Mapping.IFilterable);

Remarks

Subclasses are responsible for the specialization required for the particular collection style.

Inheritance Hierarchy

See Also