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