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

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

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

            return(coll);
        }