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