Exemple #1
0
        public List <ThumbGoods> GetShopLots()
        {
            List <string> listOfData = MyDb.GetListOfData("ShopLot");

            List <ThumbGoods> result = new List <ThumbGoods>();

            foreach (var data in listOfData)
            {
                var t = GetShopLot(data);
                result.Add(t.GetThumbGoods());
            }

            return(result);
        }
Exemple #2
0
        public override string ToString()
        {
            string result = string.Empty;

            foreach (var t in MyDb.GetListOfData("ShopLot"))
            {
                result += (t + Environment.NewLine);
            }
            foreach (var t in MyDb.GetListOfData("Account"))
            {
                result += (t + Environment.NewLine);
            }
            return(result);
        }
Exemple #3
0
 public List <string> GetAccounts()
 {
     return(MyDb.GetListOfData("Account"));
 }