/// <summary>
 /// 编辑记录
 /// </summary>
 /// <param name="id"></param>
 /// <param name="key"></param>
 /// <returns></returns>
 public ActionResult EditRecord(string id, int key)
 {
     ViewBag.TableName = id;
     if (!string.IsNullOrEmpty(id))
     {
         id = id.Replace("'", "").Replace("%", "");
     }
     return(View(SqliteDBHelper.GetRecords(id, new DictionaryEntry()
     {
         Key = "ID", Value = key
     })));
 }
        /// <summary>
        /// 获取记录
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        public ActionResult Records(string id, int?pageIndex, int?pageSize)
        {
            ViewBag.TableName = id;
            if (!string.IsNullOrEmpty(id))
            {
                id = id.Replace("'", "").Replace("%", "");
            }

            ViewData["column"] = SqliteDBHelper.GetMap(id);

            return(View(SqliteDBHelper.GetRecords(id).ToPagedList(pageIndex ?? 1, pageSize ?? 12)));
        }