From 21ddf785e4f47b905ff536229fcf5bec366293a8 Mon Sep 17 00:00:00 2001 From: Ricardo Markiewicz Date: Tue, 14 Jun 2005 01:13:41 +0000 Subject: [PATCH 1/1] * Guarda datos en la DB --- .../src/Controlador/AfiliadoSolicitanteController.cs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/carpeta/disenio_grafico/src/Controlador/AfiliadoSolicitanteController.cs b/carpeta/disenio_grafico/src/Controlador/AfiliadoSolicitanteController.cs index 38259db..c940f89 100644 --- a/carpeta/disenio_grafico/src/Controlador/AfiliadoSolicitanteController.cs +++ b/carpeta/disenio_grafico/src/Controlador/AfiliadoSolicitanteController.cs @@ -102,6 +102,8 @@ public class AfiliadoSolicitanteController d.Telefono = telefono; s.Direccion = d; + + SaveSolicitante (s); } public void EliminarAfiliado () {} @@ -119,6 +121,11 @@ public class AfiliadoSolicitanteController try { //do something with db4o db.set (s); + ObjectSet result = db.get(s); + Console.WriteLine (result.next()); + } + catch (Exception e) { + Console.WriteLine (e); } finally { db.close(); -- 2.43.0