C# Класс Castle.ActiveRecord.Scopes.StatelessSessionScope

Implementation of ISessionScope with an IStatelessSession to improve performance by caching a session without a first-level-cache.
Наследование: SessionScope
Показать файл Открыть проект

Открытые методы

Метод Описание
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