Example #1
0
        public TPhieuCapphatChitietCollection FetchByQuery(Query qry)
        {
            TPhieuCapphatChitietCollection coll = new TPhieuCapphatChitietCollection();

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

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