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

CopyPropertiesFrom() public method

Copies the base properties from a source Report object
public CopyPropertiesFrom ( Report source ) : void
source Report The source.
return void
        public void CopyPropertiesFrom( Report source )
        {
            this.Id = source.Id;
            this.CategoryId = source.CategoryId;
            this.DataViewId = source.DataViewId;
            this.Description = source.Description;
            this.EntityTypeId = source.EntityTypeId;
            this.FetchTop = source.FetchTop;
            this.ForeignGuid = source.ForeignGuid;
            this.ForeignKey = source.ForeignKey;
            this.IsSystem = source.IsSystem;
            this.ModifiedAuditValuesAlreadyUpdated = source.ModifiedAuditValuesAlreadyUpdated;
            this.Name = source.Name;
            this.CreatedDateTime = source.CreatedDateTime;
            this.ModifiedDateTime = source.ModifiedDateTime;
            this.CreatedByPersonAliasId = source.CreatedByPersonAliasId;
            this.ModifiedByPersonAliasId = source.ModifiedByPersonAliasId;
            this.Guid = source.Guid;
            this.ForeignId = source.ForeignId;
        }