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 _
)
[C#]
public delegate IList<T> FindHibernateDelegate<T>(
   ISession session
);

Generic template parameters

T
The type of result object

Remarks

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.

Requirements

Namespace: Spring.Data.NHibernate.Generic

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

See Also

Spring.Data.NHibernate.Generic Namespace