Ejemplo n.º 1
0
        public PnAgenteInscriptorCollection FetchByQuery(Query qry)
        {
            PnAgenteInscriptorCollection coll = new PnAgenteInscriptorCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Ejemplo n.º 2
0
        public PnAgenteInscriptorCollection FetchAll()
        {
            PnAgenteInscriptorCollection coll = new PnAgenteInscriptorCollection();
            Query qry = new Query(PnAgenteInscriptor.Schema);

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