Пример #1
0
        public ProductReviewCollection FetchByQuery(Query qry)
        {
            ProductReviewCollection coll = new ProductReviewCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Пример #2
0
        public ProductReviewCollection FetchAll()
        {
            ProductReviewCollection coll = new ProductReviewCollection();
            Query qry = new Query(ProductReview.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Пример #3
0
        public ProductReviewCollection FetchByID(object ProductReviewID)
        {
            ProductReviewCollection coll = new ProductReviewCollection().Where("ProductReviewID", ProductReviewID).Load();

            return(coll);
        }