]> git.llucax.com Git - z.facultad/75.10/miklolife.git/commitdiff
* Guarda datos en la DB
authorRicardo Markiewicz <gazer.arg@gmail.com>
Tue, 14 Jun 2005 01:13:41 +0000 (01:13 +0000)
committerRicardo Markiewicz <gazer.arg@gmail.com>
Tue, 14 Jun 2005 01:13:41 +0000 (01:13 +0000)
carpeta/disenio_grafico/src/Controlador/AfiliadoSolicitanteController.cs

index 38259dbc086c5e6b1b31dd2eace05590c8d0c475..c940f899acf820403bd9ae5c3dc795487ef64aa8 100644 (file)
@@ -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();