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