示例#1
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="ClassInfoCD"></param>
        /// <returns></returns>
        public LookupData LoadLookupClassType(NZString ClassInfoCD)
        {
            IClassListDAO dao        = DAOFactory.CreateClassListDAO(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);
        }