Beispiel #1
0
        public void TestMethod2()
        {
            IDicDao    idicDao = new DicDao();
            Dictionary dic     = idicDao.get(1);

            dic.tostring();
        }
Beispiel #2
0
        public void TestMethod7()
        {
            IDicDao        idicDao = new DicDao();
            List <comment> ls      = idicDao.getComment();

            foreach (comment com in ls)
            {
                Console.WriteLine(com.tostring());
            }
        }
Beispiel #3
0
        public void TestMethod3()
        {
            IDicDao           idicDao = new DicDao();
            List <Dictionary> ls      = idicDao.listAll(1);

            foreach (Dictionary dic in ls)
            {
                dic.tostring();
            }
        }
Beispiel #4
0
        public void TestMethod5()
        {
            IDicDao           idicDao = new DicDao();
            List <Dictionary> ls      = idicDao.foundByEnglish("1");

            if (ls.Count != 0)
            {
                foreach (Dictionary dic in ls)
                {
                    dic.tostring();
                }
            }
            else
            {
                Console.WriteLine("查询不到");
            }
        }