public override int GetHashCode() { if (ID != 0) { return ID.GetHashCode(); } else { return base.GetHashCode(); } }