Method | Description | |
---|---|---|
GenerateSessionAndTransaction ( bool isReadOnly, ISession &session ) : |
||
GetSessionFromTransaction ( IProviderTransaction transaction, bool isReadonly ) : ISession | ||
NhFactoryHelper ( Configuration config, ISession singleProvidedSession, bool leaveSessionOpenOnDispose, bool isSingleSessionFinalized, IFrameworkContext frameworkContext ) : System |
Method | Description | |
---|---|---|
DisposeResources ( ) : void | ||
EnsureFlushMode ( ISessionImplementor session, bool isReadOnly ) : void |
Method | 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 | |
return | void |
public GenerateSessionAndTransaction ( bool isReadOnly, ISession &session ) : |
||
isReadOnly | bool | |
session | ISession | |
return |
public GetSessionFromTransaction ( IProviderTransaction transaction, bool isReadonly ) : ISession | ||
transaction | IProviderTransaction | |
isReadonly | bool | |
return | ISession |
public NhFactoryHelper ( Configuration config, ISession singleProvidedSession, bool leaveSessionOpenOnDispose, bool isSingleSessionFinalized, IFrameworkContext frameworkContext ) : System | ||
config | Configuration | |
singleProvidedSession | ISession | |
leaveSessionOpenOnDispose | bool | |
isSingleSessionFinalized | bool | |
frameworkContext | IFrameworkContext | |
return | System |