public PnPeriodoCollection FetchByQuery(Query qry) { PnPeriodoCollection coll = new PnPeriodoCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public PnPeriodoCollection FetchAll() { PnPeriodoCollection coll = new PnPeriodoCollection(); Query qry = new Query(PnPeriodo.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public PnPeriodoCollection FetchByID(object IdPeriodo) { PnPeriodoCollection coll = new PnPeriodoCollection().Where("id_periodo", IdPeriodo).Load(); return(coll); }