namespace Controlador { using Controlador.Afiliacion; using Dominio.Afiliados; using Dominio.Planes; using Dominio; using com.db4o; using com.db4o.query; using System; using System.Collections; public class RutasController : Controller { public ArrayList ObtenerSolicitantesPendientes () { Query query = Db.query(); query.constrain(typeof(Solicitante)); query.descend("_promotor").constrain(null); query.descend("_pendiente").constrain(true); ObjectSet result = query.execute(); Console.WriteLine (result); ArrayList lst = ObjectSetToArrayList (result); return lst; } } }