Dashboard > ActiveRecord > ... > Documentation > FAQ
Added by Darius Damalakas, last edited by Darius Damalakas on Sep 20, 2007  (view change)
Labels: 
(None)


Frequently Asked Questions

  1. How to get NHibernate.ISession ?
    You can get it this way:
    ISession m_session = ActiveRecordMediator.GetSessionFactoryHolder().CreateSession(typeof(ActiveRecordBase));
  2. How to dispose or release NHibernate.ISession?
    ActiveRecordMediator.GetSessionFactoryHolder().ReleaseSession(m_session);
  3. Is there a way to get NHibernate.ISession from SessionScope?
  4. ...

Site running on a free Atlassian Confluence Community License granted to Castle Project. Evaluate Confluence today.
Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.5.4 Build:#809 Jun 12, 2007) - Bug/feature request - Contact Administrators