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

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

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }