Mercurial > altnet-hispano
diff Agendas/trunk/src/Agendas.Domain/Evento.cs @ 95:83d76f6e0a3c
Quitando la lista de eventos de la persona ya que no se usaba mas que en los tests
author | Nelo@Kenia.neluz.int |
---|---|
date | Sat, 04 Jun 2011 18:33:15 -0300 |
parents | db4b1e2cae49 |
children | 2434c2323f3d |
line wrap: on
line diff
--- a/Agendas/trunk/src/Agendas.Domain/Evento.cs Sat Jun 04 12:11:17 2011 -0300 +++ b/Agendas/trunk/src/Agendas.Domain/Evento.cs Sat Jun 04 18:33:15 2011 -0300 @@ -13,7 +13,6 @@ #region Propiedades del Evento private readonly IList<Track> _tracks; - private Persona _persona; private readonly ICollection<Track> _newTracks = new List<Track>(); /// <summary> @@ -44,18 +43,7 @@ /// <summary> /// Ponente o responsable del evento /// </summary> - public virtual Persona Persona - { - get { return _persona; } - private set - { - if (value == null && _persona != null || value != _persona && _persona != null) - _persona.RemoveEvento(this); - if (value != null) - value.AddEvento(this); - _persona = value; - } - } + public virtual Persona Persona { get; private set; } /// <summary> /// Track de cambios que ha sufrido el evento