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

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

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

            return(coll);
        }