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