Exemple #1
0
        public TamPapHPCollection FetchByQuery(Query qry)
        {
            TamPapHPCollection coll = new TamPapHPCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Exemple #2
0
        public TamPapHPCollection FetchAll()
        {
            TamPapHPCollection coll = new TamPapHPCollection();
            Query qry = new Query(TamPapHP.Schema);

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