Ejemplo n.º 1
0
 public SetRGAService.RMACommentDTO ConvertTOSaveDTO(RMAComment _commentDTO)
 {
     SetRGAService.RMACommentDTO _DTO = new SetRGAService.RMACommentDTO();
     if (_commentDTO.UserID != null)
     {
         _DTO.UserID = _commentDTO.UserID;
     }
     if (_commentDTO.ReturnID != null)
     {
         _DTO.ReturnID = _commentDTO.ReturnID;
     }
     if (_commentDTO.Comment != null)
     {
         _DTO.Comment = _commentDTO.Comment;
     }
     if (_commentDTO.CommentDate != null)
     {
         _DTO.CommentDate = (DateTime)_commentDTO.CommentDate;
     }
     if (_commentDTO.RMACommentID != null)
     {
         _DTO.RMACommentID = _commentDTO.RMACommentID;
     }
     return(_DTO);
 }
Ejemplo n.º 2
0
 public RMAComment(SetRGAService.RMACommentDTO _commentDTO)
 {
     if (_commentDTO.UserID != null)
     {
         this.UserID = _commentDTO.UserID;
     }
     if (_commentDTO.ReturnID != null)
     {
         this.ReturnID = _commentDTO.ReturnID;
     }
     if (_commentDTO.Comment != null)
     {
         this.Comment = _commentDTO.Comment;
     }
     if (_commentDTO.CommentDate != null)
     {
         this.CommentDate = (DateTime)_commentDTO.CommentDate;
     }
     if (_commentDTO.RMACommentID != null)
     {
         this.RMACommentID = _commentDTO.RMACommentID;
     }
 }