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

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

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