public bool HasChanged(ResponseAlternate alternate)
        {
            if (alternate == null)
            {
                return(false);
            }

            if (this.WakeDate.HasChanged(alternate.WakeDate) ||
                this.FuneralType.HasChanged(alternate.FuneralType) ||
                this.CeremonyDate.HasChanged(alternate.CeremonyDate) ||
                this.InternmentType.HasChanged(alternate.InternmentType) ||
                this.WakeType.HasChanged(alternate.WakeType) ||
                this.ReligionType.HasChanged(alternate.ReligionType) ||
                this.ExpectedAttendanceType.HasChanged(alternate.ExpectedAttendanceType) ||
                this.ServicePreferences.HasChanged(alternate.ServicePreferences) ||
                this.CasketMaterialType.HasChanged(alternate.CasketMaterialType) ||
                this.CasketSizeType.HasChanged(alternate.CasketSizeType) ||
                this.CasketColorType.HasChanged(alternate.CasketColorType) ||
                this.CasketManufacturerType.HasChanged(alternate.CasketManufacturerType) ||
                this.BurialContainerType.HasChanged(alternate.BurialContainerType) ||
                this.TransportationOfFamilyType.HasChanged(alternate.TransportationOfFamilyType) ||
                this.FlowerSprayType.HasChanged(alternate.FlowerSprayType) ||
                this.PrimaryFlowerType.HasChanged(alternate.PrimaryFlowerType) ||
                this.SecondaryFlowerType.HasChanged(alternate.SecondaryFlowerType) ||
                this.AccentFlowerType.HasChanged(alternate.AccentFlowerType))
            {
                return(true);
            }

            return(false);
        }
 public void Update(ResponseAlternate alternate)
 {
     // update all values
     this.WakeDate.Update(alternate.WakeDate);
     this.CeremonyDate.Update(alternate.CeremonyDate);
     this.InternmentType.Update(alternate.InternmentType);
     this.FuneralType.Update(alternate.FuneralType);
     this.WakeType.Update(alternate.WakeType);
     this.ReligionType.Update(alternate.ReligionType);
     this.ExpectedAttendanceType.Update(alternate.ExpectedAttendanceType);
     this.ServicePreferences.Update(alternate.ServicePreferences);
     this.CasketMaterialType.Update(alternate.CasketMaterialType);
     this.CasketSizeType.Update(alternate.CasketSizeType);
     this.CasketColorType.Update(alternate.CasketColorType);
     this.CasketManufacturerType.Update(alternate.CasketManufacturerType);
     this.BurialContainerType.Update(alternate.BurialContainerType);
     this.TransportationOfFamilyType.Update(alternate.TransportationOfFamilyType);
     this.FlowerSprayType.Update(alternate.FlowerSprayType);
     this.PrimaryFlowerType.Update(alternate.PrimaryFlowerType);
     this.SecondaryFlowerType.Update(alternate.SecondaryFlowerType);
     this.AccentFlowerType.Update(alternate.AccentFlowerType);
 }