public PnPartoCollection FetchByQuery(Query qry) { PnPartoCollection coll = new PnPartoCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public PnPartoCollection FetchAll() { PnPartoCollection coll = new PnPartoCollection(); Query qry = new Query(PnParto.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }