Example #1
0
        public AutCursoCollection FetchByQuery(Query qry)
        {
            AutCursoCollection coll = new AutCursoCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Example #2
0
        public AutCursoCollection FetchAll()
        {
            AutCursoCollection coll = new AutCursoCollection();
            Query qry = new Query(AutCurso.Schema);

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