public ProductCategoryCollection FetchByQuery(Query qry) { ProductCategoryCollection coll = new ProductCategoryCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public ProductCategoryCollection FetchAll() { ProductCategoryCollection coll = new ProductCategoryCollection(); Query qry = new Query(ProductCategory.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public ProductCategoryCollection FetchByID(object ProductCategoryID) { ProductCategoryCollection coll = new ProductCategoryCollection().Where("ProductCategoryID", ProductCategoryID).Load(); return(coll); }