Example #1
0
        public OrderNoteCollection FetchByQuery(Query qry)
        {
            OrderNoteCollection coll = new OrderNoteCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Example #2
0
        public OrderNoteCollection FetchAll()
        {
            OrderNoteCollection coll = new OrderNoteCollection();
            Query qry = new Query(OrderNote.Schema);

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

            return(coll);
        }