Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

IHibernateOperations.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 Sub LoadAll(Of T)()
IList<T> LoadAll<T>();

Return Value

A generic List containing 0 or more persistent instances


Exception Type Condition
DataAccessException In case of Hibernate errors

See Also

IHibernateOperations Interface | Spring.Data.NHibernate.Generic Namespace