//comment files public TranformedComment ReadExtendPropertiesOfComment(TranformedComment comment) { int recordCount = 0; comment.Attachments = FileSystemService.GetFilesBy("", "", comment.CommentID, "", "", FileStates.Normal, FileTypes.File, "", false, 0, 0x270f, out recordCount); return(comment); }
public TranformedComment GenerateTranformedComment(string commentid, string lotId, string commentText, bool internalOnly, User currentUser) { TranformedComment comment = new TranformedComment { CommentID = commentid, CommentText = commentText, Operator = currentUser.UserID, LotID = lotId, RecordState = 0, CreateTime = DateTime.Now, UpdateTime = DateTime.Now, LastOperator = currentUser.UserID, CommentType = CommentTypes.CommentOnly, OperatorName = currentUser.FullName, OperatorRole = currentUser.Role.ToString(), OperatorBUName = currentUser.BUName, OperatorEmail = currentUser.Email, Internal = internalOnly, }; return(comment); }
public void AddComment(TranformedComment comment) { this.way.AddComment(comment); }
public void AddComment(TranformedComment comment) { this.dbGateway.AddNew(comment); }