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