Example #1
0
 public List <tbl_Notification> GetContacts(DateTime afterDate)
 {
     using (MyHandsDbContext dc = new MyHandsDbContext())
     {
         return(dc.tbl_Notification.Where(a => a.dNgayTB > afterDate).OrderByDescending(a => a.dNgayTB).ToList());
     }
 }
 public BaiVietDAO()
 {
     db = new MyHandsDbContext();
 }
 public LienHeDAO()
 {
     db = new MyHandsDbContext();
 }
 public SanPhamDAO()
 {
     db = new MyHandsDbContext();
 }
 public UserDao()
 {
     db = new MyHandsDbContext();
 }
Example #6
0
 public MenuDAO()
 {
     db = new MyHandsDbContext();
 }
Example #7
0
 public FooterDAO()
 {
     db = new MyHandsDbContext();
 }
Example #8
0
 public DanhMucSPDAO()
 {
     db = new MyHandsDbContext();
 }
 public TrangThaiHoaDonDAO()
 {
     db = new MyHandsDbContext();
 }
Example #10
0
 public NhaCungCapDAO()
 {
     db = new MyHandsDbContext();
 }
 public HinhAnhSPDAO()
 {
     db = new MyHandsDbContext();
 }
 public SanPhamCommentDAO()
 {
     db = new MyHandsDbContext();
 }
 public HoaDonNhapDAO()
 {
     db = new MyHandsDbContext();
 }
 public ChiTietPhieuYCDAO()
 {
     db = new MyHandsDbContext();
 }
 public PhieuYeuCauDAO()
 {
     db = new MyHandsDbContext();
 }
 public NotificationDAO()
 {
     db = new MyHandsDbContext();
 }
 public ChiTietHoaDonDAO()
 {
     db = new MyHandsDbContext();
 }
 public CustomDAO()
 {
     db = new MyHandsDbContext();
 }