Пример #1
0
 public DMMessagesResult Get_DMMessages_SendToComms(int maxRows, ref int?noOfRowsToProcess)
 {
     try
     {
         using (ExCommsSQLDataAccess DataContext = this.GetDataContext())
         {
             return(DataContext.rsp_Get_DMMessages(maxRows, ref noOfRowsToProcess).FirstOrDefault());
         }
     }
     catch (Exception ex)
     {
         Log.Exception(ex);
         return(new DMMessagesResult());
     }
 }