p.Descripcion = desc;
p.PermanenciaMinima = permanencia;
+ AutoIncrementable c = new AutoIncrementable ();
+ p.Codigo = c.NextPlan ();
+ c.Dispose ();
actual = p;
return true;
}
return ObjectSetToArrayList (result);
}
+
+ public ArrayList ObtenerCoberturas (int codigo)
+ {
+ Plan c = new Plan ();
+ c.Codigo = codigo;
+ ObjectSet result = Db.get (c);
+
+ c = (Plan)result.next ();
+ return c.Coberturas;
+ }
}
}