コード例 #1
0
        public ProductTypeCollection FetchByQuery(Query qry)
        {
            ProductTypeCollection coll = new ProductTypeCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
コード例 #2
0
        public ProductTypeCollection FetchAll()
        {
            ProductTypeCollection coll = new ProductTypeCollection();
            Query qry = new Query(ProductType.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
コード例 #3
0
        public ProductTypeCollection FetchByID(object ProductTypeId)
        {
            ProductTypeCollection coll = new ProductTypeCollection().Where("ProductTypeId", ProductTypeId).Load();

            return(coll);
        }