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