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