Пример #1
0
        public TamPapHPCollection FetchByQuery(Query qry)
        {
            TamPapHPCollection coll = new TamPapHPCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Пример #2
0
        public TamPapHPCollection FetchAll()
        {
            TamPapHPCollection coll = new TamPapHPCollection();
            Query qry = new Query(TamPapHP.Schema);

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