public TPhieuNhapxuatthuocChitietCollection FetchByQuery(Query qry)
        {
            TPhieuNhapxuatthuocChitietCollection coll = new TPhieuNhapxuatthuocChitietCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
        public TPhieuNhapxuatthuocChitietCollection FetchAll()
        {
            TPhieuNhapxuatthuocChitietCollection coll = new TPhieuNhapxuatthuocChitietCollection();
            Query qry = new Query(TPhieuNhapxuatthuocChitiet.Schema);

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