public PnRecibeCollection FetchByQuery(Query qry) { PnRecibeCollection coll = new PnRecibeCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public PnRecibeCollection FetchAll() { PnRecibeCollection coll = new PnRecibeCollection(); Query qry = new Query(PnRecibe.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public PnRecibeCollection FetchByID(object IdRecibe) { PnRecibeCollection coll = new PnRecibeCollection().Where("id_recibe", IdRecibe).Load(); return(coll); }