public void TestGetByPid() { IAreaDao dao = DALBuild.GetObj <IAreaDao>("Area"); IList <TravelAgent.Model.Area> list = dao.Get("Pid=510000"); Console.WriteLine(list[0].Name); }
public void TestDal() { IAreaDao dao = DALBuild.GetObj <IAreaDao>("Area"); Console.WriteLine(dao.Get("Pid=510000")[0].Name); }