Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

SessionHolder Class

Session holder, wrapping a NHibernate ISession and a NHibernate Transaction. HibernateTransactionManager binds instances of this class to the thread, for a given ISessionFactory.

For a list of all members of this type, see SessionHolder Members .

System.Object
   ResourceHolderSupport
      SessionHolder

[Visual Basic]
Public Class SessionHolder
    Inherits ResourceHolderSupport
[C#]
public class SessionHolder : ResourceHolderSupport

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Remarks

Note: This is an SPI class, not intended to be used by applications.

Requirements

Namespace: Spring.Data.NHibernate

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

See Also

SessionHolder Members | Spring.Data.NHibernate Namespace