예제 #1
0
 public DataAccessError(ProcessingError processingError)
 {
     UserMessage  = (processingError.UserMessage + " " + processingError.UserHelp).Trim();
     ErrorCode    = processingError.ErrorCode;
     IsFatal      = processingError.IsFatal;
     AdminMessage = "";
 }
예제 #2
0
        public DataServiceProcessingResult ConvertToDSPR(ProcessingError error)
        {
            var result = new DataServiceProcessingResult {
                Success = Success
            };

            if (!Success)
            {
                result.Error = error;
            }
            return(result);
        }