Method | Description | |
---|---|---|
StatelessSessionScope ( ) : System.Collections.Generic |
Initializes a new instance of the StatelessSessionScope class.
|
Method | Description | |
---|---|---|
CreateSession ( ISessionFactory sessionFactory, IInterceptor interceptor ) : ISession |
This method is invoked to allow the scope to create a properly configured session
|
|
SetFlushMode ( ISession session ) : void |
protected CreateSession ( ISessionFactory sessionFactory, IInterceptor interceptor ) : ISession | ||
sessionFactory | ISessionFactory | From where to open the session |
interceptor | IInterceptor | the NHibernate interceptor |
return | ISession |
protected SetFlushMode ( ISession session ) : void | ||
session | ISession | |
return | void |
public StatelessSessionScope ( ) : System.Collections.Generic | ||
return | System.Collections.Generic |