コード例 #1
0
 public static IncomingMessageContentSent GetIncomingMessageContentSent(long incomingMessageContentSentID)
 {            
     try
     {
         IncomingMessageContentSentDAO incomingMessageContentSentDAO = new IncomingMessageContentSentDAO();
         return incomingMessageContentSentDAO.GetIncomingMessageContentSent(incomingMessageContentSentID);                
     }
     catch (ApplicationException)
     {
         throw;
     }
     catch (Exception ex)
     {
         // log this exception
         log4net.Util.LogLog.Error(ex.Message, ex);
         // wrap it and rethrow
         throw new ApplicationException(SR.BusinessGetIncomingMessageContentSentException, ex);
     }
 }                
コード例 #2
0
 public static void UpdateIncomingMessageContentSent(IncomingMessageContentSent incomingMessageContentSent)
 {            
     try
     {
         IncomingMessageContentSentDAO incomingMessageContentSentDAO = new IncomingMessageContentSentDAO();
         incomingMessageContentSentDAO.UpdateIncomingMessageContentSent(incomingMessageContentSent);
     }
     catch (ApplicationException)
     {
         throw;
     }
     catch (Exception ex)
     {
         // log this exception
         log4net.Util.LogLog.Error(ex.Message, ex);
         // wrap it and rethrow
         throw new ApplicationException(SR.BusinessUpdateIncomingMessageContentSentException, ex);
     }
 }        
コード例 #3
0
 public static IncomingMessageContentSentCollection GetIncomingMessageContentSentList(IncomingMessageContentSentColumns orderBy, string orderDirection)
 {            
     try
     {
         IncomingMessageContentSentDAO incomingMessageContentSentDAO = new IncomingMessageContentSentDAO();
         return incomingMessageContentSentDAO.GetIncomingMessageContentSentList(orderBy, orderDirection);
     }
     catch (ApplicationException)
     {
         throw;
     }
     catch (Exception ex)
     {
         // log this exception
         log4net.Util.LogLog.Error(ex.Message, ex);
         // wrap it and rethrow
         throw new ApplicationException(SR.BusinessGetIncomingMessageContentSentListException, ex);
     }
 }