Esempio n. 1
0
        public OrderDetailCollection FetchByQuery(Query qry)
        {
            OrderDetailCollection coll = new OrderDetailCollection();

            coll.Load(qry.ExecuteReader());
            return(coll);
        }
Esempio n. 2
0
        public OrderDetailCollection FetchAll()
        {
            OrderDetailCollection coll = new OrderDetailCollection();
            Query qry = new Query(OrderDetail.Schema);

            coll.Load(qry.ExecuteReader());
            return(coll);
        }
Esempio n. 3
0
        public OrderDetailCollection FetchByID(object OrderID)
        {
            OrderDetailCollection coll = new OrderDetailCollection().Where("OrderID", OrderID).Load();

            return(coll);
        }