protected bool Equals(QnSHolidayCalendar.Contracts.Business.App.IHolidayEntry other)
 {
     if (other == null)
     {
         return(false);
     }
     return(Id == other.Id && IsEqualsWith(Timestamp, other.Timestamp) && From == other.From && To == other.To && IsEqualsWith(Location, other.Location) && IsEqualsWith(Description, other.Description) && HolidayType == other.HolidayType && RepeatType == other.RepeatType);
 }
        public void CopyProperties(QnSHolidayCalendar.Contracts.Business.App.IHolidayEntry other)
        {
            if (other == null)
            {
                throw new System.ArgumentNullException(nameof(other));
            }
            bool handled = false;

            BeforeCopyProperties(other, ref handled);
            if (handled == false)
            {
                Id          = other.Id;
                Timestamp   = other.Timestamp;
                From        = other.From;
                To          = other.To;
                Location    = other.Location;
                Description = other.Description;
                HolidayType = other.HolidayType;
                RepeatType  = other.RepeatType;
            }
            AfterCopyProperties(other);
        }
 partial void AfterCopyProperties(QnSHolidayCalendar.Contracts.Business.App.IHolidayEntry other);
 partial void BeforeCopyProperties(QnSHolidayCalendar.Contracts.Business.App.IHolidayEntry other, ref bool handled);