Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

HibernateTemplate.CreateSessionProxy Method

Create a close-suppressing proxy for the given Hibernate Session. The proxy also prepares returned Query and Criteria objects.

[Visual Basic]
Public Overridable Sub CreateSessionProxy( _
   ByVal session As ISession _
)
[C#]
public virtual ISession CreateSessionProxy(
   ISession session
);

Parameters

session
The session.

Return Value

The session proxy.

See Also

HibernateTemplate Class | Spring.Data.NHibernate Namespace