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

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

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