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

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

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