Method | Description | |
---|---|---|
DefaultSessionManager ( ISessionStore sessionStore, IKernel kernel, ISessionFactoryResolver factoryResolver ) : System |
Initializes a new instance of the DefaultSessionManager class.
|
|
OpenSession ( ) : ISession | ||
OpenSession ( String alias ) : ISession |
Method | Description | |
---|---|---|
EnlistIfNecessary ( bool weAreSessionOwner, Castle.Services.Transaction.ITransaction transaction, SessionDelegate session ) : bool |
Method | Description | |
---|---|---|
CreateSession ( String alias ) : ISession | ||
ObtainCurrentTransaction ( ) : Castle.Services.Transaction.ITransaction | ||
TranslateIsolationLevel ( IsolationMode mode ) : IsolationLevel | ||
WrapSession ( bool hasTransaction, ISession session ) : SessionDelegate |
public DefaultSessionManager ( ISessionStore sessionStore, IKernel kernel, ISessionFactoryResolver factoryResolver ) : System | ||
sessionStore | ISessionStore | The session store. |
kernel | IKernel | The kernel. |
factoryResolver | ISessionFactoryResolver | The factory resolver. |
return | System |
protected EnlistIfNecessary ( bool weAreSessionOwner, Castle.Services.Transaction.ITransaction transaction, SessionDelegate session ) : bool | ||
weAreSessionOwner | bool | |
transaction | Castle.Services.Transaction.ITransaction | |
session | SessionDelegate | |
return | bool |
public OpenSession ( String alias ) : ISession | ||
alias | String | |
return | ISession |