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); }