public bool Equals(VotingVenue other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return(Equals(other.Address, this.Address) && Equals(other.Name, this.Name) && other.DbId == this.DbId && Equals(other.Address, this.Address) && Equals(other.Name, this.Name) && other.DbId == this.DbId); }