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); }
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); }
partial void AfterCopyProperties(QnSHolidayCalendar.Contracts.Persistence.App.ICalendarEntry other);
partial void BeforeCopyProperties(QnSHolidayCalendar.Contracts.Persistence.App.ICalendarEntry other, ref bool handled);