C# 클래스 Castle.ActiveRecord.Scopes.StatelessSessionScope

Implementation of ISessionScope with an IStatelessSession to improve performance by caching a session without a first-level-cache.
상속: SessionScope
파일 보기 프로젝트 열기: shosca/ActiveRecord

공개 메소드들

메소드 설명
StatelessSessionScope ( ) : System.Collections.Generic

Initializes a new instance of the StatelessSessionScope class.

보호된 메소드들

메소드 설명
CreateSession ( ISessionFactory sessionFactory, IInterceptor interceptor ) : ISession

This method is invoked to allow the scope to create a properly configured session

SetFlushMode ( ISession session ) : void

메소드 상세

CreateSession() 보호된 메소드

This method is invoked to allow the scope to create a properly configured session
protected CreateSession ( ISessionFactory sessionFactory, IInterceptor interceptor ) : ISession
sessionFactory ISessionFactory From where to open the session
interceptor IInterceptor the NHibernate interceptor
리턴 ISession

SetFlushMode() 보호된 메소드

protected SetFlushMode ( ISession session ) : void
session ISession
리턴 void

StatelessSessionScope() 공개 메소드

Initializes a new instance of the StatelessSessionScope class.
public StatelessSessionScope ( ) : System.Collections.Generic
리턴 System.Collections.Generic