Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

HibernateTemplate.LoadAll(T) Method

Return all persistent instances of the given entity class. Note: Use queries or criteria for retrieving a specific subset.

[Visual Basic]
Public NotOverridable Sub LoadAll(Of T)() _
    Implements IHibernateOperations.LoadAll
[C#]
public IList<T> LoadAll<T>();

Return Value

A generic List containing 0 or more persistent instances

Implements

IHibernateOperations.LoadAll

Exceptions

Exception Type Condition
DataAccessException In case of Hibernate errors

See Also

HibernateTemplate Class | Spring.Data.NHibernate.Generic Namespace