C# Класс Spring.Data.NHibernate.DelegatingLocalSessionFactoryObject

Delegates to an implementation of ISessionFactory that can select among multiple instances based on thread local storage.
Наследование: Spring.Data.NHibernate.LocalSessionFactoryObject
Показать файл Открыть проект Примеры использования класса

Защищенные методы

Метод Описание
NewSessionFactory ( NHibernate.Cfg.Configuration config ) : ISessionFactory

Subclasses can override this method to perform custom initialization of the SessionFactory instance, creating it via the given Configuration object that got prepared by this LocalSessionFactoryObject.

The default implementation invokes Configuration's BuildSessionFactory. A custom implementation could prepare the instance in a specific way, or use a custom ISessionFactory subclass.

PostProcessConfiguration ( NHibernate.Cfg.Configuration config ) : void

PostProcessConfiguration

Описание методов

NewSessionFactory() защищенный Метод

Subclasses can override this method to perform custom initialization of the SessionFactory instance, creating it via the given Configuration object that got prepared by this LocalSessionFactoryObject.

The default implementation invokes Configuration's BuildSessionFactory. A custom implementation could prepare the instance in a specific way, or use a custom ISessionFactory subclass.

protected NewSessionFactory ( NHibernate.Cfg.Configuration config ) : ISessionFactory
config NHibernate.Cfg.Configuration
Результат ISessionFactory

PostProcessConfiguration() защищенный Метод

PostProcessConfiguration
protected PostProcessConfiguration ( NHibernate.Cfg.Configuration config ) : void
config NHibernate.Cfg.Configuration
Результат void