public ISessionProvider <NHibernateStatelessSession> Build(string sessionAlias) { ISessionFactory sessionFactory = inHibernateSessionFactoryBuilder.Build(sessionAlias); NHibernateStatelessSessionProvider sessionProvider = new NHibernateStatelessSessionProvider(sessionAlias, sessionFactory); return(sessionProvider); }
private ISessionFactory BuildSessionFactory(string sessionAlias) { ISessionFactory sessionFactory = decorated.Build(sessionAlias); return(sessionFactory); }