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

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

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }