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