Exemplo n.º 1
0
 public DuLieuDAO()
     : base()
 {
     _tableName = "DULIEU";
     _fileds = new string[] { "MaDuLieu", "MaDichVu","MaTenDiaDiem","SoNha","MaDuong","MaPhuong","MaQuanHuyen","MaTinhThanh","KinhDo","ViDo","ChuThich"  };
     _dDAO = new DuongDAO();
     _dvDAO = new DichVuDAO();
     _tddDAO = new TenDiaDiemDAO();
     _pDAO = new PhuongDAO();
     _qhDAO = new QuanHuyenDAO();
     _ttDAO = new TinhThanhDAO();
     InitDAORef();
 }
Exemplo n.º 2
0
 public DuLieuDAO()
     : base()
 {
     _tableName = "DULIEU";
     _fileds    = new string[] { "MaDuLieu", "MaDichVu", "MaTenDiaDiem", "SoNha", "MaDuong", "MaPhuong", "MaQuanHuyen", "MaTinhThanh", "KinhDo", "ViDo", "ChuThich" };
     _dDAO      = new DuongDAO();
     _dvDAO     = new DichVuDAO();
     _tddDAO    = new TenDiaDiemDAO();
     _pDAO      = new PhuongDAO();
     _qhDAO     = new QuanHuyenDAO();
     _ttDAO     = new TinhThanhDAO();
     InitDAORef();
 }
Exemplo n.º 3
0
 public List<TinhThanhDTO> GetAllRecord()
 {
     TinhThanhDAO dao = new TinhThanhDAO();
     return dao.GetAllRecord();
 }