public AutChofCursoCollection FetchByQuery(Query qry) { AutChofCursoCollection coll = new AutChofCursoCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public AutChofCursoCollection FetchAll() { AutChofCursoCollection coll = new AutChofCursoCollection(); Query qry = new Query(AutChofCurso.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }