/// <summary> /// /// </summary> /// <param name="ClassInfoCD"></param> /// <returns></returns> public LookupData LoadLookupClassType(NZString ClassInfoCD) { ClassListDAO dao = new ClassListDAO(CommonLib.Common.CurrentDatabase); DataTable dt = DTOUtility.ConvertListToDataTable(dao.LoadByClassInfo(null, ClassInfoCD)); LookupData lookupData = new LookupData(dt, ClassListDTO.eColumns.CLS_DESC.ToString(), ClassListDTO.eColumns.CLS_CD.ToString()); return(lookupData); }
public List <Rubik.DTO.ClassListDTO> LoadByClassInfo(NZString CLS_INFO_CD) { ClassListDAO dao = new ClassListDAO(CommonLib.Common.CurrentDatabase); return(dao.LoadByClassInfo(null, CLS_INFO_CD)); }