public DataSet GetAppInfoRecords(ContextInfo contextInfo, List<MESParameterInfo> lstParameters) { contextInfo.Action = MES_ActionType.Query; AppInfoBll bll = new AppInfoBll(contextInfo); //不需要Access Control //bll.CallAccessControl(); DataSet rs = bll.GetSelectedRecords<tsysappinfo>(lstParameters); GC.Collect(); return rs; }
public List<tsysappinfo> GetAppInfoList(ContextInfo contextInfo, List<MESParameterInfo> lstParameters) { contextInfo.Action = MES_ActionType.Query; AppInfoBll bll = new AppInfoBll(contextInfo); //不需要Access Control //bll.CallAccessControl(); List<tsysappinfo> rs = bll.GetSelectedObjects<tsysappinfo>(lstParameters); GC.Collect(); return rs; }