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); }
public AutChofCursoCollection FetchByID(object IdCurso) { AutChofCursoCollection coll = new AutChofCursoCollection().Where("idCurso", IdCurso).Load(); return(coll); }