public override int GetHashCode() { unchecked { return((DirectorId.GetHashCode() * 397) ^ (Name != null ? Name.GetHashCode() : 0)); } }
protected bool Equals(DirectorNamed other) { return(DirectorId.Equals(other.DirectorId) && string.Equals(Name, other.Name)); }