Пример #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);
 }