Loads one-to-many associations

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

Syntax

Visual Basic (Declaration)
Public Class OneToManyLoader _
	Inherits CollectionLoader
C#
public class OneToManyLoader : CollectionLoader
Visual C++
public ref class OneToManyLoader : public CollectionLoader
JavaScript
NHibernate.Loader.Collection.OneToManyLoader = function();

Type.createClass(
	'NHibernate.Loader.Collection.OneToManyLoader',
	NHibernate.Loader.Collection.CollectionLoader);

Remarks

The collection persister must implement IQueryableCollection. For other collections, create a customized subclass of Loader.

Inheritance Hierarchy

See Also