public PnIngresoCollection FetchByQuery(Query qry) { PnIngresoCollection coll = new PnIngresoCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public PnIngresoCollection FetchAll() { PnIngresoCollection coll = new PnIngresoCollection(); Query qry = new Query(PnIngreso.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public PnIngresoCollection FetchByID(object IdIngreso) { PnIngresoCollection coll = new PnIngresoCollection().Where("id_ingreso", IdIngreso).Load(); return(coll); }