示例#1
0
 protected bool Equals(QnSHolidayCalendar.Contracts.Persistence.App.ICalendarEntry other)
 {
     if (other == null)
     {
         return(false);
     }
     return(Id == other.Id && IsEqualsWith(Timestamp, other.Timestamp) && Date == other.Date && HolidayGroup == other.HolidayGroup && IsEqualsWith(Location, other.Location) && IsEqualsWith(Description, other.Description) && IsEqualsWith(Note, other.Note) && Type == other.Type);
 }
示例#2
0
        public void CopyProperties(QnSHolidayCalendar.Contracts.Persistence.App.ICalendarEntry 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;
                Date         = other.Date;
                HolidayGroup = other.HolidayGroup;
                Location     = other.Location;
                Description  = other.Description;
                Note         = other.Note;
                Type         = other.Type;
            }
            AfterCopyProperties(other);
        }
示例#3
0
 partial void AfterCopyProperties(QnSHolidayCalendar.Contracts.Persistence.App.ICalendarEntry other);
示例#4
0
 partial void BeforeCopyProperties(QnSHolidayCalendar.Contracts.Persistence.App.ICalendarEntry other, ref bool handled);