예제 #1
0
 public static UnitOfWorkNHibernate GetInstancia(ISessionFactory sessionFactory)
 {
     _instancia = new UnitOfWorkNHibernate(sessionFactory);
     return(_instancia);
 }
예제 #2
0
 public static UnitOfWorkNHibernate GetInstancia()
 {
     return(_instancia ?? (_instancia = new UnitOfWorkNHibernate()));
 }