Example #1
0
        public OrderStatusDescriptorCollection FetchByQuery(Query qry)
        {
            OrderStatusDescriptorCollection coll = new OrderStatusDescriptorCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Example #2
0
        public OrderStatusDescriptorCollection FetchAll()
        {
            OrderStatusDescriptorCollection coll = new OrderStatusDescriptorCollection();
            Query qry = new Query(OrderStatusDescriptor.Schema);

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