Exemplo n.º 1
0
        public TblReasonCollection FetchByQuery(Query qry)
        {
            TblReasonCollection coll = new TblReasonCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Exemplo n.º 2
0
        public TblReasonCollection FetchAll()
        {
            TblReasonCollection coll = new TblReasonCollection();
            Query qry = new Query(TblReason.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }