Méthode | Description | |
---|---|---|
Init ( ) : void |
Méthode | Description | |
---|---|---|
Application_BeginRequest ( object sender, |
Due to issues on IIS7, the NHibernate initialization cannot reside in Init() but must only be called once. Consequently, we invoke a thread-safe singleton class to ensure it's only initialized once.
|
|
Application_Error ( object sender, |
||
Application_Start ( ) : void |
Méthode | Description | |
---|---|---|
InitializeNHibernateSession ( ) : void |
If you need to communicate to multiple databases, you'd add a line to this method to initialize the other database as well.
|
protected Application_BeginRequest ( object sender, |
||
sender | object | |
e | ||
Résultat | void |
protected Application_Error ( object sender, |
||
sender | object | |
e | ||
Résultat | void |