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