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