Exemplo n.º 1
0
        public SpecialOfferProductCollection FetchByQuery(Query qry)
        {
            SpecialOfferProductCollection coll = new SpecialOfferProductCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Exemplo n.º 2
0
        public SpecialOfferProductCollection FetchAll()
        {
            SpecialOfferProductCollection coll = new SpecialOfferProductCollection();
            Query qry = new Query(SpecialOfferProduct.Schema);

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