public RecommendationCollection FetchAll()
 {
     RecommendationCollection coll = new RecommendationCollection();
     Query qry = new Query(Recommendation.Schema);
     coll.LoadAndCloseReader(qry.ExecuteReader());
     return coll;
 }
 public RecommendationCollection FetchByQuery(Query qry)
 {
     RecommendationCollection coll = new RecommendationCollection();
     coll.LoadAndCloseReader(qry.ExecuteReader());
     return coll;
 }
 public RecommendationCollection FetchByID(object Id)
 {
     RecommendationCollection coll = new RecommendationCollection().Where("ID", Id).Load();
     return coll;
 }
Esempio n. 4
0
 public static void setTestGetRecommendationsForUser(string communityId, string userId,
                                                     RecommendationActionType contextAction, string contextObjectId, int maxResults,
                                                     RecommendationCollection result)
 {
     throw new global::System.NotImplementedException("Recommendations.SetTestGetRecommendationsForUser");
 }