Exemplo n.º 1
0
 public DateTime getCurrentTime()
 {
     Clustering_Users_DAO dao = null;
     try
     {
         dao = new Clustering_Users_DAO();
         dao.beginTransaction();
         DateTime date = dao.getCurrentTime();
         dao.commitTransaction();
         return date;
     }
     catch (Exception ex)
     {
         dao.rollbackTransaction();
         throw ex;
     }
 }