|
Static Public Member Functions |
|
static void | BeginRequest () |
| | Initializes internal state for handling new request. Call this method at the beginning of the ASP.NET request.
|
|
static void | EndRequest () |
| | Finalizes the request. If current session exists the method flushes it and closes. Call this method at the end of ASP.NET request.
|
|
static IDisposable | OpenConnection (IDbConnection connection) |
|
static void | CloseAndFlush () |
| | Flushes and closes current session.
|
| static void | Close () |
| | Closes current session.
|
|
static void | Flush () |
| | Flushes current session.
|
| static Transaction | BeginTransaction () |
| | Begins new COM+ transaction.
|
Properties |
| static NHibernate.Cfg.Configuration | Configuration |
| | Returns an instance of NHibernate::Cfg::Configuration object containing the configuration for current application.
|
|
static DomainModel | Model |
| static ISessionFactory | Factory |
| | Returns an object implementing NHibernate::ISessionFactory interface, used to create new sessions.
|
| static ISession | Current |
| | Returns a current session object.
|
Classes |
| class | HttpSessionSource |
| | Stores a session in the HttpContext::Items collection.
|
| class | ISessionStorage |
| class | ThreadSessionSource |
| | Stores a session in the thread-static class member.
|