public PnPlanillaCollection FetchByQuery(Query qry) { PnPlanillaCollection coll = new PnPlanillaCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public PnPlanillaCollection FetchAll() { PnPlanillaCollection coll = new PnPlanillaCollection(); Query qry = new Query(PnPlanilla.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public PnPlanillaCollection FetchByID(object IdPlanillas) { PnPlanillaCollection coll = new PnPlanillaCollection().Where("id_planillas", IdPlanillas).Load(); return(coll); }