예제 #1
0
        public ProductCategoryCollection FetchByQuery(Query qry)
        {
            ProductCategoryCollection coll = new ProductCategoryCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
예제 #2
0
        public ProductCategoryCollection FetchAll()
        {
            ProductCategoryCollection coll = new ProductCategoryCollection();
            Query qry = new Query(ProductCategory.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
예제 #3
0
        public ProductCategoryCollection FetchByID(object ProductCategoryID)
        {
            ProductCategoryCollection coll = new ProductCategoryCollection().Where("ProductCategoryID", ProductCategoryID).Load();

            return(coll);
        }