Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

SessionFactoryUtils.CloseSession Method

Perform the actual closing of the Hibernate Session catching and logging any cleanup exceptions thrown.

[Visual Basic]
Public Shared Sub CloseSession( _
   ByVal session As ISession _
)
[C#]
public static void CloseSession(
   ISession session
);

Parameters

session
The hibernate session to close

See Also

SessionFactoryUtils Class | Spring.Data.NHibernate Namespace