+ public ArrayList ObtenerFamiliaresAfiliar (Solicitante s)
+ {
+ Query query = Db.query();
+ query.constrain(typeof(Solicitante));
+ query.descend("_promotor").constrain(null);
+ query.descend("_pendiente").constrain(false);
+ query.descend("_titular").constrain(s);
+
+ Console.WriteLine (query);
+ ObjectSet result = query.execute();
+ Console.WriteLine (result);
+ ArrayList lst = ObjectSetToArrayList (result);
+
+ return lst;
+ }
+