Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

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

Parameters

entityType
Type of the entity.

Return Value

A List containing 0 or more persistent instances

Exceptions

Exception Type Condition
DataAccessException In case of Hibernate errors

See Also

IHibernateOperations Interface | Spring.Data.NHibernate Namespace