2 namespace Controlador {
4 using Controlador.Afiliacion;
6 using Dominio.Afiliados;
13 using System.Collections;
15 public class RutasController : Controller
17 public ArrayList ObtenerSolicitantesPendientes ()
19 Query query = Db.query();
20 query.constrain(typeof(Solicitante));
21 query.descend("_promotor").constrain(null);
22 query.descend("_pendiente").constrain(true);
24 ObjectSet result = query.execute();
25 Console.WriteLine (result);
26 ArrayList lst = ObjectSetToArrayList (result);