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); }
public OrderNoteCollection FetchByID(object OrderNoteId) { OrderNoteCollection coll = new OrderNoteCollection().Where("OrderNoteId", OrderNoteId).Load(); return(coll); }