Exemplo n.º 1
0
 public static ISession CurrentSession()
 {
     return(NHibernateSessionFactory.OpenSession(CsMaster, null, Assembly.GetExecutingAssembly()));
 }
Exemplo n.º 2
0
 public static ISession CurrentSession(IInterceptor localSessionInterceptor)
 {
     return(NHibernateSessionFactory.OpenSession(CsMaster, localSessionInterceptor, Assembly.GetExecutingAssembly()));
 }
Exemplo n.º 3
0
 public static IStatelessSession CurrentStatelessSession()
 {
     return(NHibernateSessionFactory.OpenStatelessSession(CsMaster, null));
 }