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); }