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