public ActionResult UpdateTable(int id, DatabaseTableUpdateModel model)
        {
            if (string.IsNullOrEmpty(model.UpdateRemark))
            {
                ViewBag.Message = "必须填写必要的备注信息!";
                return View(model);
            }

            var tableinfo = _databaseRepository.GetTableById(id);

            tableinfo.ChineseName = model.ChineseName;
            tableinfo.Name = model.Name;
            tableinfo.LastUpdateTime = DateTime.Now;

            string introduction = string.Format("Name:【Old:{0},New:{1}】,ChineseName:【Old:{2},New:{3}】。",
                tableinfo.Name,
                model.Name,
                tableinfo.ChineseName,
                model.ChineseName
            );

            _databaseRepository.UpdateTable(tableinfo);

            return Redirect("/Database/TableList/" + tableinfo.DatabaseInfoID);
        }
        public ActionResult UpdateTable(int id)
        {
            var tableinfo = _databaseRepository.GetTableById(id);
            DatabaseTableUpdateModel model = new DatabaseTableUpdateModel();
            model.ChineseName = tableinfo.ChineseName;
            model.Name = tableinfo.Name;

            return View(model);
        }