public PnServicioCollection FetchByQuery(Query qry) { PnServicioCollection coll = new PnServicioCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public PnServicioCollection FetchAll() { PnServicioCollection coll = new PnServicioCollection(); Query qry = new Query(PnServicio.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public PnServicioCollection FetchByID(object IdServicio) { PnServicioCollection coll = new PnServicioCollection().Where("id_servicio", IdServicio).Load(); return(coll); }