예제 #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);
        }
예제 #3
0
        public ProductStatusDescriptorCollection FetchByID(object ProductStatusDescriptorId)
        {
            ProductStatusDescriptorCollection coll = new ProductStatusDescriptorCollection().Where("ProductStatusDescriptorId", ProductStatusDescriptorId).Load();

            return(coll);
        }