コード例 #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);
        }