Example #1
0
        public ProductPhotoCollection FetchByQuery(Query qry)
        {
            ProductPhotoCollection coll = new ProductPhotoCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Example #2
0
        public ProductPhotoCollection FetchAll()
        {
            ProductPhotoCollection coll = new ProductPhotoCollection();
            Query qry = new Query(ProductPhoto.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }