public PnIngresoCollection FetchByQuery(Query qry) { PnIngresoCollection coll = new PnIngresoCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public PnIngresoCollection FetchAll() { PnIngresoCollection coll = new PnIngresoCollection(); Query qry = new Query(PnIngreso.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }