Méthode | Description | |
---|---|---|
GenerateSessionAndTransaction ( bool isReadOnly, ISession &session ) : |
||
GetSessionFromTransaction ( IProviderTransaction transaction, bool isReadonly ) : ISession | ||
NhFactoryHelper ( Configuration config, ISession singleProvidedSession, bool leaveSessionOpenOnDispose, bool isSingleSessionFinalized, IFrameworkContext frameworkContext ) : System |
Méthode | Description | |
---|---|---|
DisposeResources ( ) : void | ||
EnsureFlushMode ( ISessionImplementor session, bool isReadOnly ) : void |
Méthode | Description | |
---|---|---|
CheckFirstRunTasks ( ISession session ) : ISession | ||
GetNHibernateSession ( bool isReadonly, bool forceNewUnbounded = false ) : ISession |
Retursn the NHibernate session to use
|
|
GetNHibernateSessionFactory ( ) : ISessionFactory | ||
UnbindAndCloseSession ( ISessionFactory nhSessionFactory ) : void |
protected EnsureFlushMode ( ISessionImplementor session, bool isReadOnly ) : void | ||
session | ISessionImplementor | |
isReadOnly | bool | |
Résultat | void |
public GenerateSessionAndTransaction ( bool isReadOnly, ISession &session ) : |
||
isReadOnly | bool | |
session | ISession | |
Résultat |
public GetSessionFromTransaction ( IProviderTransaction transaction, bool isReadonly ) : ISession | ||
transaction | IProviderTransaction | |
isReadonly | bool | |
Résultat | ISession |
public NhFactoryHelper ( Configuration config, ISession singleProvidedSession, bool leaveSessionOpenOnDispose, bool isSingleSessionFinalized, IFrameworkContext frameworkContext ) : System | ||
config | Configuration | |
singleProvidedSession | ISession | |
leaveSessionOpenOnDispose | bool | |
isSingleSessionFinalized | bool | |
frameworkContext | IFrameworkContext | |
Résultat | System |