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

CopyPropertiesFrom() public method

Copies the base properties from a source ContentChannelItem object
public CopyPropertiesFrom ( ContentChannelItem source ) : void
source ContentChannelItem The source.
return void
        public void CopyPropertiesFrom( ContentChannelItem source )
        {
            this.Id = source.Id;
            this.ApprovedByPersonAliasId = source.ApprovedByPersonAliasId;
            this.ApprovedDateTime = source.ApprovedDateTime;
            this.Content = source.Content;
            this.ContentChannelId = source.ContentChannelId;
            this.ContentChannelTypeId = source.ContentChannelTypeId;
            this.ExpireDateTime = source.ExpireDateTime;
            this.ForeignGuid = source.ForeignGuid;
            this.ForeignKey = source.ForeignKey;
            this.ModifiedAuditValuesAlreadyUpdated = source.ModifiedAuditValuesAlreadyUpdated;
            this.Order = source.Order;
            this.Permalink = source.Permalink;
            this.Priority = source.Priority;
            this.StartDateTime = source.StartDateTime;
            this.Status = source.Status;
            this.Title = source.Title;
            this.CreatedDateTime = source.CreatedDateTime;
            this.ModifiedDateTime = source.ModifiedDateTime;
            this.CreatedByPersonAliasId = source.CreatedByPersonAliasId;
            this.ModifiedByPersonAliasId = source.ModifiedByPersonAliasId;
            this.Guid = source.Guid;
            this.ForeignId = source.ForeignId;
        }
ContentChannelItemEntity