Method | Description | |
---|---|---|
Dispose ( ) : void | ||
Init ( System.Web.HttpApplication context ) : void |
Method | Description | |
---|---|---|
BeginTransaction ( object sender, |
Opens a session within a transaction at the beginning of the HTTP request. This doesn't actually open a connection to the database until needed.
|
|
CloseSession ( object sender, |
Closes a session without commiting the transaction
|
|
CommitAndCloseSession ( object sender, |
Commits and closes the NHibernate session provided by the supplied NHibernateSessionManager. Assumes a transaction was begun at the beginning of the request; but a transaction or session does not *have* to be opened for this to operate successfully.
|
|
OpenSession ( object sender, |
Makes sure that there is an open session by either grabbing and discarding an existing session, or creating a new one if there isn't one already
|
public Init ( System.Web.HttpApplication context ) : void | ||
context | System.Web.HttpApplication | |
return | void |