FindHibernateDelegate(T) Delegate
Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

FindHibernateDelegate(T) Delegate

Gets called by HibernateTemplate with an active Hibernate Session. Does not need to care about activating or closing the Session, or handling transactions.

[Visual Basic]
Public Delegate Function FindHibernateDelegate(Of T)( _
   ByVal session As ISession _
public delegate IList<T> FindHibernateDelegate<T>(
   ISession session

Generic template parameters

The type of result object


Allows for returning an IList of result objects created within the callback. Note that there's special support for single step actions: see HibernateTemplate.find etc.


Namespace: Spring.Data.NHibernate.Generic

Assembly: Spring.Data.NHibernate20 (in Spring.Data.NHibernate20.dll)

See Also

Spring.Data.NHibernate.Generic Namespace