public static ISession CurrentSession() { return(NHibernateSessionFactory.OpenSession(CsMaster, null, Assembly.GetExecutingAssembly())); }
public static ISession CurrentSession(IInterceptor localSessionInterceptor) { return(NHibernateSessionFactory.OpenSession(CsMaster, localSessionInterceptor, Assembly.GetExecutingAssembly())); }
public static IStatelessSession CurrentStatelessSession() { return(NHibernateSessionFactory.OpenStatelessSession(CsMaster, null)); }