Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

HibernateTemplate.LoadAll 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( _
   ByVal entityType As Type _
) _
    Implements IHibernateOperations.LoadAll
[C#]
public IList LoadAll(
   Type entityType
);

Parameters

entityType
Type of the entity.

Return Value

A 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 Namespace