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

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

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