예제 #1
0
 public TimKiemDAO() : base()
 {
     _dlDAO           = new DuLieuDAO();
     _tkD             = new TuKhoaDuongDAO();
     _tkDV            = new TuKhoaDichVuDAO();
     _tkP             = new TuKhoaPhuongDAO();
     _tkQH            = new TuKhoaQuanHuyenDAO();
     _tkTDD           = new TuKhoaTenDiaDiemDAO();
     _tkTT            = new TuKhoaTinhThanhDAO();
     _dlDAO.Dbmanager = _dbmanager;
     _tkD.Dbmanager   = _dlDAO.Dbmanager;
     _tkDV.Dbmanager  = _dlDAO.Dbmanager;
     _tkD.Dbmanager   = _dlDAO.Dbmanager;
     _tkP.Dbmanager   = _dlDAO.Dbmanager;
     _tkQH.Dbmanager  = _dlDAO.Dbmanager;
     _tkTDD.Dbmanager = _dlDAO.Dbmanager;
     _tkTT.Dbmanager  = _dlDAO.Dbmanager;
 }
예제 #2
0
 public TimKiemDAO()
     : base()
 {
     _dlDAO = new DuLieuDAO();
     _tkD = new TuKhoaDuongDAO();
     _tkDV = new TuKhoaDichVuDAO();
     _tkP = new TuKhoaPhuongDAO();
     _tkQH = new TuKhoaQuanHuyenDAO();
     _tkTDD = new TuKhoaTenDiaDiemDAO();
     _tkTT = new TuKhoaTinhThanhDAO();
     _dlDAO.Dbmanager = _dbmanager;
     _tkD.Dbmanager = _dlDAO.Dbmanager;
     _tkDV.Dbmanager = _dlDAO.Dbmanager;
     _tkD.Dbmanager = _dlDAO.Dbmanager;
     _tkP.Dbmanager = _dlDAO.Dbmanager;
     _tkQH.Dbmanager = _dlDAO.Dbmanager;
     _tkTDD.Dbmanager = _dlDAO.Dbmanager;
     _tkTT.Dbmanager = _dlDAO.Dbmanager;
 }
예제 #3
0
 public ActionResult ChiTiet(int id)
 {
     DuLieuDAO dlDAO = new DuLieuDAO();
     DuLieuDTO duLieu = dlDAO.getDuLieu(id);
     return View(duLieu);
 }