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

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Ejemplo n.º 2
0
        public AprAcompañanteCollection FetchAll()
        {
            AprAcompañanteCollection coll = new AprAcompañanteCollection();
            Query qry = new Query(AprAcompañante.Schema);

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