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

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

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

            return(coll);
        }