Beispiel #1
0
        public ProductDocumentCollection FetchByQuery(Query qry)
        {
            ProductDocumentCollection coll = new ProductDocumentCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Beispiel #2
0
        public ProductDocumentCollection FetchAll()
        {
            ProductDocumentCollection coll = new ProductDocumentCollection();
            Query qry = new Query(ProductDocument.Schema);

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