public override int GetHashCode() { int hashPrevious = PreviousID == 0 ? 0 : PreviousID.GetHashCode(); int hashID = LocationID == 0 ? 0 : LocationID.GetHashCode(); int hashTitle = LocationTitle == null ? 0 : LocationTitle.GetHashCode(); return(hashPrevious ^ hashID ^ hashTitle); }
public override int GetHashCode() { int hashPrevious = PreviousID == 0 ? 0 : PreviousID.GetHashCode(); int hashID = TeamID == 0 ? 0 : TeamID.GetHashCode(); int hashTitle = TeamTitle == null ? 0 : TeamTitle.GetHashCode(); return(hashPrevious ^ hashID ^ hashTitle); }