Свойство | Type | Description | |
---|---|---|---|
GetSession | ISession | ||
InitSessionFactory | void | ||
IsInWebContext | bool | ||
NHibernateSessionManager | System.Runtime.Remoting.Messaging |
Méthode | Description | |
---|---|---|
BeginTransaction ( ) : void | ||
CloseSession ( ) : void | ||
CommitTransaction ( ) : void | ||
EnsureFreshness ( object o ) : void |
Make sure the object given is connected to the current session
|
|
GetSession ( ) : ISession | ||
HasOpenTransaction ( ) : bool | ||
RegisterInterceptor ( IInterceptor interceptor ) : void |
Allows you to register an interceptor on a new session. This may not be called if there is already an open session attached to the HttpContext. If you have an interceptor to be used, modify the HttpModule to call this before calling BeginTransaction().
|
|
RollbackTransaction ( ) : void |
Méthode | Description | |
---|---|---|
GetSession ( IInterceptor interceptor ) : ISession |
Gets a session with or without an interceptor. This method is not called directly; instead, it gets invoked from other public methods.
|
|
InitSessionFactory ( ) : void | ||
IsInWebContext ( ) : bool | ||
NHibernateSessionManager ( ) : System.Runtime.Remoting.Messaging |
Initializes the NHibernate session factory upon instantiation.
|
public EnsureFreshness ( object o ) : void | ||
o | object | Mapped Object |
Résultat | void |
public RegisterInterceptor ( IInterceptor interceptor ) : void | ||
interceptor | IInterceptor | |
Résultat | void |