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

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

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