public override int GetHashCode() { if (!this.get_Id().get_HasValue()) { return 0; } return this.get_Id().GetHashCode(); }