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

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Exemplo n.º 2
0
        public AutChofCursoCollection FetchAll()
        {
            AutChofCursoCollection coll = new AutChofCursoCollection();
            Query qry = new Query(AutChofCurso.Schema);

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