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

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

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