/// <summary> /// 添加专家吐槽 /// </summary> public void AddExperterComments(string userId, string sendUserId, CommentsTpye commentsTpye, string analyzeSchemeId, string recommendSchemeId, string content, string currentTime) { using (var biz = new GameBizBusinessManagement()) { biz.BeginTran(); var manager = new ExperterCommentsManager(); var entity = new ExperterComments() { UserId = userId, CommentsTpye = commentsTpye, AnalyzeSchemeId = analyzeSchemeId, RecommendSchemeId = recommendSchemeId, DealWithType = DealWithType.NoneDealWith, Content = content, SendUserId = sendUserId, DisposeOpinion = "", CurrentTime = currentTime, CreateTime = DateTime.Now, }; manager.AddExperterComments(entity); biz.CommitTran(); } }
/// <summary> /// 更新专家吐槽 /// </summary> public void UpdateExperterComments(ExperterComments entity) { this.Update <ExperterComments>(entity); }
/// <summary> /// 删除专家吐槽 /// </summary> public void DeleteExperterComments(ExperterComments entity) { this.Delete <ExperterComments>(entity); }
/// <summary> /// 添加专家吐槽 /// </summary> public void AddExperterComments(ExperterComments entity) { this.Add <ExperterComments>(entity); }