private SysPageFuncPointEntity PrepareFormData()
 {
     //TODO:需要校验参数的合法性
     var entity = new SysPageFuncPointEntity();
     entity.PageUrl = txtPageUrl.Text;
     entity.FuncPointId = ddlFuncPointId.SelectedValue;
     return entity;
 }
Exemplo n.º 2
0
 public void AddNewSysPageFuncPoint(SysPageFuncPointEntity entity)
 {
     entity.Insert();
     SetSysPageFuncPointListCache();
 }
Exemplo n.º 3
0
 public void UpdateSysPageFuncPoint(SysPageFuncPointEntity entity)
 {
     entity.Update();
     SetSysPageFuncPointListCache();
 }
Exemplo n.º 4
0
 public void DeleteSysPageFuncPoint(string pageUrl)
 {
     SysPageFuncPointEntity entity = new SysPageFuncPointEntity() {PageUrl = pageUrl};
     EntityExecution.Delete(entity);
     SetSysPageFuncPointListCache();
 }