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

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

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

            return(coll);
        }