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