예제 #1
0
 public void Restaurar(MementoPersona m)
 {
     this.Rut      = m.Rut;
     this.Nombre   = m.Nombre;
     this.Apellido = m.Apellido;
     this.FechaNac = m.FechaNac;
     this.Email    = m.Email;
     this.Telefono = m.Telefono;
     this.Sexo     = m.Sexo;
 }
예제 #2
0
 public Persona()
 {
     this.Rut      = String.Empty;
     this.Nombre   = String.Empty;
     this.Apellido = String.Empty;
     this.FechaNac = DateTime.Today;
     this.Email    = string.Empty;
     this.Telefono = 0;
     this.Sexo     = new Sexo();
 }