public PnEgresoCollection FetchByQuery(Query qry) { PnEgresoCollection coll = new PnEgresoCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public PnEgresoCollection FetchAll() { PnEgresoCollection coll = new PnEgresoCollection(); Query qry = new Query(PnEgreso.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public PnEgresoCollection FetchByID(object IdEgreso) { PnEgresoCollection coll = new PnEgresoCollection().Where("id_egreso", IdEgreso).Load(); return(coll); }