Example #1
0
        public List <DOCGIA> getDOCGIAs()
        {
            List <DOCGIA> ds = new List <DOCGIA>();

            using (QLThuViendbDataContext db = new QLThuViendbDataContext())
            {
                ds = db.DOCGIAs.Select(p => p).ToList();
            }
            return(ds);
        }
Example #2
0
        public List <SACH> getSACHs()
        {
            List <SACH> ds = new List <SACH>();

            using (QLThuViendbDataContext db = new QLThuViendbDataContext())
            {
                ds = db.SACHes.Select(p => p).ToList();
            }
            return(ds);
        }
Example #3
0
        public List <NHANVIEN> getNHANVIENs()
        {
            List <NHANVIEN> ds = new List <NHANVIEN>();

            using (QLThuViendbDataContext db = new QLThuViendbDataContext())
            {
                ds = db.NHANVIENs.Select(p => p).ToList();
            }
            return(ds);
        }