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

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