Exemplo n.º 1
0
        public PnNinoCollection FetchByQuery(Query qry)
        {
            PnNinoCollection coll = new PnNinoCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Exemplo n.º 2
0
        public PnNinoCollection FetchAll()
        {
            PnNinoCollection coll = new PnNinoCollection();
            Query            qry  = new Query(PnNino.Schema);

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