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

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

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }