Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

IHibernateOperations.ExecuteFind Method

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

[Visual Basic]
Public Sub ExecuteFind( _
   ByVal action As IHibernateCallback _
)
[C#]
IList ExecuteFind(
   IHibernateCallback action
);

Parameters

action
The calback object that specifies the Hibernate action.

Return Value

A IList returned by the action, or null

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

IHibernateOperations Interface | Spring.Data.NHibernate Namespace