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

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

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