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); }
public PnCalculaPrecioCollection FetchByID(object IdCalculaPrecio) { PnCalculaPrecioCollection coll = new PnCalculaPrecioCollection().Where("id_calcula_precio", IdCalculaPrecio).Load(); return(coll); }