]> git.llucax.com Git - z.facultad/75.10/miklolife.git/blobdiff - demo/src/Dominio/Autorizacion.cs
(no commit message)
[z.facultad/75.10/miklolife.git] / demo / src / Dominio / Autorizacion.cs
index c244ed7bd1ef6d9d244c82d5829cb46edd29c990..b62dd1d9be1577be40b5512a11ac63f4b0b385c5 100644 (file)
@@ -129,12 +129,12 @@ namespace Dominio
                        {\r
                                string strAut = string.Empty;\r
 \r
                        {\r
                                string strAut = string.Empty;\r
 \r
-                               strAut += "Tipo: " + this.GetType().Name + "\n";\r
+                               strAut += "Tipo: " + this.GetType().Name + System.Environment.NewLine;\r
                                \r
                                System.Reflection.PropertyInfo[] properties = this.GetType().GetProperties();\r
                                foreach ( System.Reflection.PropertyInfo property in properties )\r
                                {\r
                                \r
                                System.Reflection.PropertyInfo[] properties = this.GetType().GetProperties();\r
                                foreach ( System.Reflection.PropertyInfo property in properties )\r
                                {\r
-                                       strAut += property.Name + " = " + property.GetValue( this, null ) + "\n";\r
+                                       strAut += property.Name + " = " + property.GetValue( this, null ) + System.Environment.NewLine;\r
                                }\r
                        \r
                                return strAut;\r
                                }\r
                        \r
                                return strAut;\r
@@ -201,9 +201,16 @@ namespace Dominio
                                : base( fechaSolicitud )
                        {
                        }
                                : base( fechaSolicitud )
                        {
                        }
+
                        public AutorizacionManual()\r
                        {
                        }
                        public AutorizacionManual()\r
                        {
                        }
+                       
+                       //para consultas a db4o
+                       public AutorizacionManual( int codigo )
+                       {
+                               this.Codigo = codigo;
+                       }
 
                        #endregion Constructores
 
 
                        #endregion Constructores
 
@@ -282,10 +289,17 @@ namespace Dominio
                                : base( fechaSolicitud )
                        {
                        }
                                : base( fechaSolicitud )
                        {
                        }
+                       
                        public AutorizacionAutomatica()         
                        {
                        }
 
                        public AutorizacionAutomatica()         
                        {
                        }
 
+                       //para consultas a db4o
+                       public AutorizacionAutomatica( int codigo )
+                       {
+                               this.Codigo = codigo;
+                       }
+
                        #endregion Constructores
 
                        #region Métodos Públicos
                        #endregion Constructores
 
                        #region Métodos Públicos