Exemplo n.º 1
0
        public OrderStatusDescriptorCollection FetchByQuery(Query qry)
        {
            OrderStatusDescriptorCollection coll = new OrderStatusDescriptorCollection();

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

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

            return(coll);
        }