Пример #1
0
        public TTestContentCollection FetchByQuery(Query qry)
        {
            TTestContentCollection coll = new TTestContentCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Пример #2
0
        public TTestContentCollection FetchAll()
        {
            TTestContentCollection coll = new TTestContentCollection();
            Query qry = new Query(TTestContent.Schema);

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