Ejemplo n.º 1
0
        public EDocument EDocumentSelectPicture(DBGuid IDVal)
        {
            TraceCallEnterEvent.Raise();
              try
              {
            EDocument result = base.EDocumentSelect(IDVal);
            if (!result.PictureUrl.IsNull)
            {
              FileDataContext fileDataContext = new FileDataContext();
              result.PictureData = fileDataContext.EDocumentSelect(result.ID);
            }

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