public ProductDownloadMapCollection FetchByQuery(Query qry) { ProductDownloadMapCollection coll = new ProductDownloadMapCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public ProductDownloadMapCollection FetchAll() { ProductDownloadMapCollection coll = new ProductDownloadMapCollection(); Query qry = new Query(ProductDownloadMap.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }