public ProductReviewCollection FetchByQuery(Query qry) { ProductReviewCollection coll = new ProductReviewCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public ProductReviewCollection FetchAll() { ProductReviewCollection coll = new ProductReviewCollection(); Query qry = new Query(ProductReview.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public ProductReviewCollection FetchByID(object ProductReviewID) { ProductReviewCollection coll = new ProductReviewCollection().Where("ProductReviewID", ProductReviewID).Load(); return(coll); }