public PnPrestacionesNuevaCollection FetchByQuery(Query qry) { PnPrestacionesNuevaCollection coll = new PnPrestacionesNuevaCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public PnPrestacionesNuevaCollection FetchAll() { PnPrestacionesNuevaCollection coll = new PnPrestacionesNuevaCollection(); Query qry = new Query(PnPrestacionesNueva.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public PnPrestacionesNuevaCollection FetchByID(object IdPrestacionesNuevas) { PnPrestacionesNuevaCollection coll = new PnPrestacionesNuevaCollection().Where("idPrestacionesNuevas", IdPrestacionesNuevas).Load(); return(coll); }