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

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

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