예제 #1
0
        public OrderItemCollection FetchByQuery(Query qry)
        {
            OrderItemCollection coll = new OrderItemCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
예제 #2
0
        public OrderItemCollection FetchAll()
        {
            OrderItemCollection coll = new OrderItemCollection();
            Query qry = new Query(OrderItem.Schema);

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

            return(coll);
        }