public dtoBaseCommitteeMember(CommitteeMember membership, String anonymousName) : this(membership)
 {
     if (IdPerson == 0)
     {
         DisplayName = anonymousName;
     }
 }
 public dtoBaseCommitteeMember(CommitteeMember membership)
 {
     IdMembership    = membership.Id;
     Status          = membership.Status;
     IdCallEvaluator = (membership.Evaluator == null) ? 0 : membership.Evaluator.Id;
     IdPerson        = (membership.Evaluator == null || (membership.Evaluator.Person == null)) ? 0 : membership.Evaluator.Person.Id;
     if (IdPerson > 0)
     {
         Name        = membership.Evaluator.Person.Name;
         Surname     = membership.Evaluator.Person.Surname;
         DisplayName = membership.Evaluator.Person.SurnameAndName;
     }
 }
 public dtoBaseEvaluatorStatistics(CommitteeMember member) : this()
 {
     this.IdCommittee     = member.Committee.Id;
     this.IdMembership    = member.Id;
     this.IdCallEvaluator = (member.Evaluator != null) ? member.Evaluator.Id : 0;
     if (member.Evaluator != null && member.Evaluator.Person != null)
     {
         this.IdPerson    = member.Evaluator.Person.Id;
         this.DisplayName = member.Evaluator.Person.SurnameAndName;
     }
     this.ReplacedBy          = member.ReplacedBy;
     this.ReplacingUser       = member.ReplacingUser;
     this.ReplacedByEvaluator = member.ReplacedByEvaluator;
     this.ReplacingEvaluator  = member.ReplacingEvaluator;
     this.Status = member.Status;
 }