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); }
public ProductDownloadMapCollection FetchByID(object ProductId) { ProductDownloadMapCollection coll = new ProductDownloadMapCollection().Where("ProductId", ProductId).Load(); return(coll); }