[Missing <summary> documentation for "N:NHibernate.Context"]
Classes
| Class | Description | |
|---|---|---|
| CallSessionContext | 
            Provides a current session
            for each CallContext.
            Not recommended for .NET 2.0 web applications.
              | |
| CurrentSessionContext | 
            Extends the contract defined by ICurrentSessionContext
            by providing methods to bind and unbind sessions to the current context.
              | |
| ManagedWebSessionContext | 
            Provides a current session
            for each System.Web.HttpContext.
            Works only with Web Applications.
              | |
| MapBasedSessionContext | ||
| ReflectiveHttpContext | 
            This class allows access to the HttpContext without referring to HttpContext at compile time.
            The accessors are cached as delegates for performance.
              | |
| ThreadLocalSessionContext | 
            A ICurrentSessionContext impl which scopes the notion of current
            session by the current thread of execution. Threads do not give us a 
            nice hook to perform any type of cleanup making
            it questionable for this impl to actually generate Session instances.  In
            the interest of usability, it was decided to have this default impl
            actually generate a session upon first request and then clean it up
            after the ITransaction associated with that session
            is committed/rolled-back.  In order for ensuring that happens, the sessions
            generated here are unusable until after {@link Session#beginTransaction()}
            has been called. If Close() is called on a session managed by
            this class, it will be automatically unbound.
            
            Additionally, the static Bind(ISession) and Unbind(ISessionFactory) methods are
            provided to allow application code to explicitly control opening and
            closing of these sessions.  This, with some from of interception,
            is the preferred approach.  It also allows easy framework integration
            and one possible approach for implementing long-sessions.
              | |
| ThreadStaticSessionContext | 
            Provides a current session
            for each thread using the [ThreadStaticAttribute].
            To avoid if there are two session factories in the same thread.
              | |
| WcfOperationSessionContext | 
            Provides a current session
            for the current OperationContext in WCF. Works only during the lifetime of a WCF operation.
              | |
| WcfStateExtension | ||
| WebSessionContext | 
            Provides a current session
            for each System.Web.HttpContext. Works only with web applications.
              | 
Interfaces
| Interface | Description | |
|---|---|---|
| ICurrentSessionContext | 
            Defines the contract for implementations which know how to
            scope the notion of a current session.
              |