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

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

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Exemple #3
0
        public OrderStatusDescriptorCollection FetchByID(object OrderStatusDescriptorId)
        {
            OrderStatusDescriptorCollection coll = new OrderStatusDescriptorCollection().Where("OrderStatusDescriptorId", OrderStatusDescriptorId).Load();

            return(coll);
        }