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

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

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

            return(coll);
        }