메소드 | 설명 | |
---|---|---|
GenerateSessionAndTransaction ( bool isReadOnly, ISession &session ) : |
||
GetSessionFromTransaction ( IProviderTransaction transaction, bool isReadonly ) : ISession | ||
NhFactoryHelper ( Configuration config, ISession singleProvidedSession, bool leaveSessionOpenOnDispose, bool isSingleSessionFinalized, IFrameworkContext frameworkContext ) : System |
메소드 | 설명 | |
---|---|---|
DisposeResources ( ) : void | ||
EnsureFlushMode ( ISessionImplementor session, bool isReadOnly ) : void |
메소드 | 설명 | |
---|---|---|
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 | |
리턴 | void |
public GenerateSessionAndTransaction ( bool isReadOnly, ISession &session ) : |
||
isReadOnly | bool | |
session | ISession | |
리턴 |
public GetSessionFromTransaction ( IProviderTransaction transaction, bool isReadonly ) : ISession | ||
transaction | IProviderTransaction | |
isReadonly | bool | |
리턴 | ISession |
public NhFactoryHelper ( Configuration config, ISession singleProvidedSession, bool leaveSessionOpenOnDispose, bool isSingleSessionFinalized, IFrameworkContext frameworkContext ) : System | ||
config | Configuration | |
singleProvidedSession | ISession | |
leaveSessionOpenOnDispose | bool | |
isSingleSessionFinalized | bool | |
frameworkContext | IFrameworkContext | |
리턴 | System |