Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

SessionFactoryUtils.InitDeferredClose Method

Initialize deferred close for the current thread and the given SessionFactory. Sessions will not be actually closed on close calls then, but rather at a processDeferredClose call at a finishing point (like request completion).

[Visual Basic]
Public Shared Sub InitDeferredClose( _
   ByVal sessionFactory As ISessionFactory _
)
[C#]
public static void InitDeferredClose(
   ISessionFactory sessionFactory
);

Parameters

sessionFactory
The session factory.

See Also

SessionFactoryUtils Class | Spring.Data.NHibernate Namespace