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); }
public RecommendationCollection FetchByID(object Id) { RecommendationCollection coll = new RecommendationCollection().Where("ID", Id).Load(); return(coll); }