Exemple #1
0
 public virtual void TearDown()
 {
     if (_commit)
     {
         NHibernateSession.Current.Transaction.Commit();
     }
     else if (NHibernateSession.Current.Transaction.IsActive)
     {
         NHibernateSession.Current.Transaction.Rollback();
     }
     RepositoryTestsHelper.Shutdown();
 }
Exemple #2
0
 public virtual void TearDown( )
 {
     RepositoryTestsHelper.Shutdown();
 }
Exemple #3
0
 public void OnAssemblyComplete()
 {
     RepositoryTestsHelper.Shutdown();
 }
Exemple #4
0
 public virtual void TearDown()
 {
     NHibernateSession.Current.Transaction.Rollback();
     RepositoryTestsHelper.Shutdown();
 }