예제 #1
0
        public string GetInventoryBaseListInCSV(string InputValue, ref string PageInfo)
        {
            COutputValue           pInfo = new COutputValue();
            IList <CInventoryBase> list  = new CInventoryBaseDao().GetInventoryBaseList(CSystemFunction.GetInventoryActiveIngredient, InputValue, ref pInfo);

            PageInfo = pInfo.ToCSV();
            return(CInventoryBase.ToCSV <CInventoryBase>(list));
        }
예제 #2
0
        public List <CActiveIngredient> GetInventoryBaseList(string InputValue, ref COutputValue Output)
        {
            IList <CInventoryBase>   list    = new CInventoryBaseDao().GetInventoryBaseList(CSystemFunction.GetInventoryActiveIngredient, InputValue, ref Output);
            List <CActiveIngredient> listRet = new List <CActiveIngredient>(list.Count);

            foreach (CInventoryBase inv in list)
            {
                CActiveIngredient obj = new CActiveIngredient(inv);
                listRet.Add(obj);
            }

            return(listRet);
        }
예제 #3
0
        public CApplicationMessage UpdateInventoryBase(string InputValue)
        {
            CApplicationMessage list = new CInventoryBaseDao().UpdateInventoryBase(CSystemFunction.GetInventoryActiveIngredient, InputValue);

            return(list);//<CItems>(list);
        }
예제 #4
0
        public CActiveIngredient GetInventoryBase(string InputValue)
        {
            CInventoryBase obj = new CInventoryBaseDao().GetInventoryBase(CSystemFunction.GetInventoryActiveIngredient, InputValue);

            return(new CActiveIngredient(obj));
        }