Ejemplo n.º 1
0
        public void TestMethod_Table2List()
        {
            BizBO          bizBo = TransactionAOP.newInstance(typeof(BizBO)) as BizBO;
            DataTable      table = bizBo.add3();
            IList <MyCity> city  = DBUtil.Table2List <MyCity>(table);
            string         s     = city[9].city;

            Assert.AreEqual("Akishima", s, "cityname");
        }
Ejemplo n.º 2
0
        public void TestMethod_Table2List2()
        {
            BizBO           bizBo = TransactionAOP.newInstance(typeof(BizBO)) as BizBO;
            DataTable       table = bizBo.add3();
            IList <MyCity2> city  = DBUtil.Table2List <MyCity2>(table);
            int             s     = city[9].city_id1;

            Assert.AreEqual(0, s, "cityid");
        }