프로퍼티 | 타입 | 설명 | |
---|---|---|---|
log | ILog |
메소드 | 설명 | |
---|---|---|
Close ( ) : void |
Close the current view's session and unregisters from spring's TransactionSynchronizationManager.
|
|
Dispose ( ) : void |
Call
|
|
Open ( ) : void |
Opens a new session or participates in an existing session and registers with spring's TransactionSynchronizationManager.
|
|
SessionScope ( ) : System |
Initializes a new instance of the SessionScope class in single session mode, associating a session with the thread. The session is opened lazily on demand.
|
|
SessionScope ( ISessionFactory sessionFactory, IInterceptor entityInterceptor, bool singleSession, FlushMode defaultFlushMode, bool open ) : System |
Initializes a new instance of the SessionScope class.
|
|
SessionScope ( ISessionFactory sessionFactory, bool open ) : System |
Initializes a new instance of the SessionScope class.
|
|
SessionScope ( Spring.Data.NHibernate.Support.SessionScopeSettings settings, bool open ) : System |
Initializes a new instance of the SessionScope class.
|
|
SessionScope ( bool open ) : System |
Initializes a new instance of the SessionScope class.
|
|
SessionScope ( string sectionName, |
Initializes a new instance of the SessionScope class.
|
|
SessionScope ( string sectionName, bool open ) : System |
Initializes a new instance of the SessionScope class.
|
메소드 | 설명 | |
---|---|---|
DoClose ( bool isLogDebugEnabled ) : void | ||
DoOpenSession ( ) : ISession | ||
SetOpen ( bool isOpen ) : void |
Sets a flag, whether this scope is in "open" state on the current logical thread.
|
|
SetParticipating ( bool participating ) : void |
Gets/Sets a flag, whether this scope manages it's own session for the current logical thread or not.
|
public SessionScope ( ISessionFactory sessionFactory, IInterceptor entityInterceptor, bool singleSession, FlushMode defaultFlushMode, bool open ) : System | ||
sessionFactory | ISessionFactory |
/// The |
entityInterceptor | IInterceptor |
/// Specify the |
singleSession | bool |
/// Set whether to use a single session for each request. See |
defaultFlushMode | FlushMode |
/// Specify the flushmode to be applied on each session provided by this |
open | bool |
/// If set to |
리턴 | System |
public SessionScope ( ISessionFactory sessionFactory, bool open ) : System | ||
sessionFactory | ISessionFactory |
/// The |
open | bool |
/// If set to |
리턴 | System |
public SessionScope ( Spring.Data.NHibernate.Support.SessionScopeSettings settings, bool open ) : System | ||
settings | Spring.Data.NHibernate.Support.SessionScopeSettings | An |
open | bool |
/// If set to |
리턴 | System |
public SessionScope ( bool open ) : System | ||
open | bool |
/// If set to |
리턴 | System |
public SessionScope ( string sectionName, |
||
sectionName | string |
/// The name of the configuration section to read configuration settings from.
/// See |
namespaceType | The type, who's full name is used for prefixing appSetting keys | |
open | bool |
/// If set to |
리턴 | System |
public SessionScope ( string sectionName, bool open ) : System | ||
sectionName | string |
/// The name of the configuration section to read configuration settings from.
/// See |
open | bool |
/// If set to |
리턴 | System |