예제 #1
0
        public TLichsuHieuchinhDonthuocCollection FetchByQuery(Query qry)
        {
            TLichsuHieuchinhDonthuocCollection coll = new TLichsuHieuchinhDonthuocCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
예제 #2
0
        public TLichsuHieuchinhDonthuocCollection FetchAll()
        {
            TLichsuHieuchinhDonthuocCollection coll = new TLichsuHieuchinhDonthuocCollection();
            Query qry = new Query(TLichsuHieuchinhDonthuoc.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
예제 #3
0
        public TLichsuHieuchinhDonthuocCollection FetchByID(object IdHieuchinh)
        {
            TLichsuHieuchinhDonthuocCollection coll = new TLichsuHieuchinhDonthuocCollection().Where("id_hieuchinh", IdHieuchinh).Load();

            return(coll);
        }