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

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

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