Méthode | Description | |
---|---|---|
DefaultSessionManager ( ISessionStore sessionStore, IKernel kernel, ISessionFactoryResolver factoryResolver ) : System |
Initializes a new instance of the DefaultSessionManager class.
|
|
OpenSession ( ) : ISession | ||
OpenSession ( String alias ) : ISession |
Méthode | Description | |
---|---|---|
EnlistIfNecessary ( bool weAreSessionOwner, Castle.Services.Transaction.ITransaction transaction, SessionDelegate session ) : bool |
Méthode | 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. |
Résultat | System |
protected EnlistIfNecessary ( bool weAreSessionOwner, Castle.Services.Transaction.ITransaction transaction, SessionDelegate session ) : bool | ||
weAreSessionOwner | bool | |
transaction | Castle.Services.Transaction.ITransaction | |
session | SessionDelegate | |
Résultat | bool |
public OpenSession ( String alias ) : ISession | ||
alias | String | |
Résultat | ISession |