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

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

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