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

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

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

            return(coll);
        }