public AutCursoCollection FetchByQuery(Query qry) { AutCursoCollection coll = new AutCursoCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public AutCursoCollection FetchAll() { AutCursoCollection coll = new AutCursoCollection(); Query qry = new Query(AutCurso.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public AutCursoCollection FetchByID(object IdCurso) { AutCursoCollection coll = new AutCursoCollection().Where("idCurso", IdCurso).Load(); return(coll); }