Example #1
0
        public PnIngresoCollection FetchByQuery(Query qry)
        {
            PnIngresoCollection coll = new PnIngresoCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Example #2
0
        public PnIngresoCollection FetchAll()
        {
            PnIngresoCollection coll = new PnIngresoCollection();
            Query qry = new Query(PnIngreso.Schema);

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