Beispiel #1
0
        public void TestGetByPid()
        {
            IAreaDao dao = DALBuild.GetObj <IAreaDao>("Area");
            IList <TravelAgent.Model.Area> list = dao.Get("Pid=510000");

            Console.WriteLine(list[0].Name);
        }
Beispiel #2
0
        public void TestDal()
        {
            IAreaDao dao = DALBuild.GetObj <IAreaDao>("Area");

            Console.WriteLine(dao.Get("Pid=510000")[0].Name);
        }