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

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Ejemplo n.º 2
0
        public OrderCollection FetchAll()
        {
            OrderCollection coll = new OrderCollection();
            Query           qry  = new Query(Order.Schema);

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

            return(coll);
        }