示例#1
0
 protected bool Equals(ConstituencyRef other)
 {
     return(Id.Equals(other.Id) && string.Equals(Name, other.Name));
 }
 public ConstituencyMps(Guid id, DateTime dateCreated, DateTime dateLastUpdated, EntityStatus status)
     : base(id, dateCreated, dateLastUpdated, status)
 {
     Constituency = ConstituencyRef.CreateEmpty();
     Candidate    = CandidateRef.CreateEmpty();
 }
 public ConstituencyMps()
     : base(default(Guid))
 {
     Constituency = ConstituencyRef.CreateEmpty();
     Candidate    = CandidateRef.CreateEmpty();
 }
 public ConstituencyMps(Guid id)
     : base(id)
 {
     Constituency = ConstituencyRef.CreateEmpty();
     Candidate    = CandidateRef.CreateEmpty();
 }