Esempio n. 1
0
        public LoaiThanhVienCollection FetchByQuery(Query qry)
        {
            LoaiThanhVienCollection coll = new LoaiThanhVienCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Esempio n. 2
0
        public LoaiThanhVienCollection FetchAll()
        {
            LoaiThanhVienCollection coll = new LoaiThanhVienCollection();
            Query qry = new Query(LoaiThanhVien.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Esempio n. 3
0
        public LoaiThanhVienCollection FetchByID(object MaLoaitv)
        {
            LoaiThanhVienCollection coll = new LoaiThanhVienCollection().Where("MaLoaitv", MaLoaitv).Load();

            return(coll);
        }