public DataAccessError(ProcessingError processingError) { UserMessage = (processingError.UserMessage + " " + processingError.UserHelp).Trim(); ErrorCode = processingError.ErrorCode; IsFatal = processingError.IsFatal; AdminMessage = ""; }
public DataServiceProcessingResult ConvertToDSPR(ProcessingError error) { var result = new DataServiceProcessingResult { Success = Success }; if (!Success) { result.Error = error; } return(result); }