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

CopyPropertiesFrom() public method

Copies the base properties from a source Note object
public CopyPropertiesFrom ( Note source ) : void
source Note The source.
return void
        public void CopyPropertiesFrom( Note source )
        {
            this.Id = source.Id;
            this.Caption = source.Caption;
            this.EntityId = source.EntityId;
            this.ForeignGuid = source.ForeignGuid;
            this.ForeignKey = source.ForeignKey;
            this.IsAlert = source.IsAlert;
            this.IsPrivateNote = source.IsPrivateNote;
            this.IsSystem = source.IsSystem;
            this.ModifiedAuditValuesAlreadyUpdated = source.ModifiedAuditValuesAlreadyUpdated;
            this.NoteTypeId = source.NoteTypeId;
            this.Text = source.Text;
            this.CreatedDateTime = source.CreatedDateTime;
            this.ModifiedDateTime = source.ModifiedDateTime;
            this.CreatedByPersonAliasId = source.CreatedByPersonAliasId;
            this.ModifiedByPersonAliasId = source.ModifiedByPersonAliasId;
            this.Guid = source.Guid;
            this.ForeignId = source.ForeignId;
        }