コード例 #1
0
 public void HandleUserIdea(int id, string status, string updateUserId, string updateUserDisplayName, string managerReply)
 {
     using (var biz = new GameBiz.Business.GameBizBusinessManagement())
     {
         biz.BeginTran();
         using (var manager = new UserIdeaManager())
         {
             var idea = manager.GetUserIdeaById(id);
             idea.Status                = status;
             idea.UpdateUserId          = updateUserId;
             idea.UpdateUserDisplayName = updateUserDisplayName;
             idea.ManageReply           = managerReply;
             manager.UpdateUserIdea(idea);
         }
         biz.CommitTran();
     }
 }