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