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

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

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

            return(coll);
        }