public List<tsysmenuconfig> GetTopMenuList(ContextInfo contextInfo,string menutype) { contextInfo.Action = MES_ActionType.Query; MenuConfigBll bll = new MenuConfigBll(contextInfo); bll.CallAccessControl(); List<tsysmenuconfig> rs = bll.GetTopMenuList(menutype); GC.Collect(); return rs; }
public List<tsysmenuconfig> GetMenuConfigList(ContextInfo contextInfo,List<MESParameterInfo> lstParameters) { contextInfo.Action = MES_ActionType.Query; MenuConfigBll bll = new MenuConfigBll(contextInfo); bll.CallAccessControl(); List<tsysmenuconfig> rs = bll.GetSelectedObjects<tsysmenuconfig>(lstParameters); GC.Collect(); return rs; }