Rock.Client.ScheduleEntity.CopyPropertiesFrom C# (CSharp) Method

CopyPropertiesFrom() public method

Copies the base properties from a source Schedule object
public CopyPropertiesFrom ( Schedule source ) : void
source Schedule The source.
return void
        public void CopyPropertiesFrom( Schedule source )
        {
            this.Id = source.Id;
            this.CategoryId = source.CategoryId;
            this.CheckInEndOffsetMinutes = source.CheckInEndOffsetMinutes;
            this.CheckInStartOffsetMinutes = source.CheckInStartOffsetMinutes;
            this.Description = source.Description;
            this.EffectiveEndDate = source.EffectiveEndDate;
            this.EffectiveStartDate = source.EffectiveStartDate;
            this.ForeignGuid = source.ForeignGuid;
            this.ForeignKey = source.ForeignKey;
            this.iCalendarContent = source.iCalendarContent;
            this.ModifiedAuditValuesAlreadyUpdated = source.ModifiedAuditValuesAlreadyUpdated;
            this.Name = source.Name;
            this.WeeklyDayOfWeek = source.WeeklyDayOfWeek;
            this.WeeklyTimeOfDay = source.WeeklyTimeOfDay;
            this.CreatedDateTime = source.CreatedDateTime;
            this.ModifiedDateTime = source.ModifiedDateTime;
            this.CreatedByPersonAliasId = source.CreatedByPersonAliasId;
            this.ModifiedByPersonAliasId = source.ModifiedByPersonAliasId;
            this.Guid = source.Guid;
            this.ForeignId = source.ForeignId;
        }
ScheduleEntity