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