Example #1
0
        public override int GetHashCode()
        {
            int hash = 17;

            hash = hash * 31 + CyclistsRequested.GetHashCode();
            hash = hash * 31 + Date.GetHashCode();
            hash = hash * 31 + DipsNumber.GetHashCode();
            hash = hash * 31 + EndTime.GetHashCode();
            hash = hash * 31 + Id.GetHashCode();
            hash = hash * 31 + Name.GetHashCode();
            hash = hash * 31 + StartTime.GetHashCode();
            hash = hash * 31 + Status.GetHashCode();
            hash = hash * 31 + WiderDistribution.GetHashCode();
            hash = hash * 31 + BriefingNotesSent.GetHashCode();
            hash = hash * 31 + DateConfirmed.GetHashCode();
            hash = hash * 31 + Created.GetHashCode();
            hash = hash * 31 + LastUpdated.GetHashCode();
            hash = hash * 31 + (CreatedBy ?? string.Empty).GetHashCode();
            hash = hash * 31 + (UpdatedBy ?? string.Empty).GetHashCode();
            return(hash);
        }
        public override int GetHashCode()
        {
            int hash = 17;

            hash = hash * 31 + AmbulancesAvailable.GetHashCode();
            hash = hash * 31 + (ControlPhoneNumber ?? string.Empty).GetHashCode();
            hash = hash * 31 + CruTrackingInUse.GetHashCode();
            hash = hash * 31 + CyclistsRequested.GetHashCode();
            hash = hash * 31 + Date.GetHashCode();
            hash = hash * 31 + (Description ?? string.Empty).GetHashCode();
            hash = hash * 31 + DipsNumber.GetHashCode();
            hash = hash * 31 + DoctorsPresent.GetHashCode();
            hash = hash * 31 + EndTime.GetHashCode();
            hash = hash * 31 + ExpectingBadWeather.GetHashCode();
            hash = hash * 31 + (FallbackRadioChannel ?? string.Empty).GetHashCode();
            hash = hash * 31 + FirstAidersAvailable.GetHashCode();
            hash = hash * 31 + FirstAidUnitsAvailable.GetHashCode();
            hash = hash * 31 + HasSeriousHistory.GetHashCode();
            hash = hash * 31 + HighSpeedRoadsAtEvent.GetHashCode();
            hash = hash * 31 + Id.GetHashCode();
            hash = hash * 31 + (Location ?? string.Empty).GetHashCode();
            hash = hash * 31 + Name.GetHashCode();
            hash = hash * 31 + ParamedicsAvailable.GetHashCode();
            hash = hash * 31 + (PostCode ?? string.Empty).GetHashCode();
            hash = hash * 31 + (RadioChannel ?? string.Empty).GetHashCode();
            hash = hash * 31 + SoloRespondingExpected.GetHashCode();
            hash = hash * 31 + StartTime.GetHashCode();
            hash = hash * 31 + Status.GetHashCode();
            hash = hash * 31 + UsingAirwave.GetHashCode();
            hash = hash * 31 + UsingSJARadio.GetHashCode();
            hash = hash * 31 + WiderDistribution.GetHashCode();
            hash = hash * 31 + DateConfirmed.GetHashCode();
            hash = hash * 31 + Created.GetHashCode();
            hash = hash * 31 + LastUpdated.GetHashCode();
            hash = hash * 31 + (CreatedBy ?? string.Empty).GetHashCode();
            hash = hash * 31 + (UpdatedBy ?? string.Empty).GetHashCode();
            return(hash);
        }