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

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

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