예제 #1
0
        public News NewsSelectPicture(DBGuid IDVal)
        {
            TraceCallEnterEvent.Raise();
              try
              {
            News result = base.NewsSelect(IDVal);
            if (!result.PictureUrl.IsNull)
            {
              FileDataContext fileDataContext = new FileDataContext();
              result.PictureData = fileDataContext.NewsSelect(result.ID);
            }

            TraceCallReturnEvent.Raise();
            return result;
              }
              catch (Exception ex)
              {
            ExceptionManager.Publish(ex);
            TraceCallReturnEvent.Raise(false);
            throw;
              }
        }