Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

HibernateTemplate.ExecuteFind Method

Execute the specified action assuming that the result object is a List.

[Visual Basic]
Public NotOverridable Sub ExecuteFind( _
   ByVal action As IHibernateCallback _
) _
    Implements IHibernateOperations.ExecuteFind
[C#]
public IList ExecuteFind(
   IHibernateCallback action
);

Parameters

action
The calback object that specifies the Hibernate action.

Return Value

A IList returned by the action, or null

Implements

IHibernateOperations.ExecuteFind

Remarks

This is a convenience method for executing Hibernate find calls or queries within an action.

Exceptions

Exception Type Condition
DataAccessException In case of Hibernate errors

See Also

HibernateTemplate Class | Spring.Data.NHibernate Namespace