Esempio n. 1
0
        public PnTribuCollection FetchByQuery(Query qry)
        {
            PnTribuCollection coll = new PnTribuCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Esempio n. 2
0
        public PnTribuCollection FetchAll()
        {
            PnTribuCollection coll = new PnTribuCollection();
            Query             qry  = new Query(PnTribu.Schema);

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