public OrderCollection FetchByQuery(Query qry) { OrderCollection coll = new OrderCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public OrderCollection FetchAll() { OrderCollection coll = new OrderCollection(); Query qry = new Query(Order.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }