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

CopyPropertiesFrom() public method

Copies the base properties from a source DefinedValue object
public CopyPropertiesFrom ( DefinedValue source ) : void
source DefinedValue The source.
return void
        public void CopyPropertiesFrom( DefinedValue source )
        {
            this.Id = source.Id;
            this.DefinedTypeId = source.DefinedTypeId;
            this.Description = source.Description;
            this.ForeignGuid = source.ForeignGuid;
            this.ForeignKey = source.ForeignKey;
            this.IsSystem = source.IsSystem;
            this.ModifiedAuditValuesAlreadyUpdated = source.ModifiedAuditValuesAlreadyUpdated;
            this.Order = source.Order;
            this.Value = source.Value;
            this.CreatedDateTime = source.CreatedDateTime;
            this.ModifiedDateTime = source.ModifiedDateTime;
            this.CreatedByPersonAliasId = source.CreatedByPersonAliasId;
            this.ModifiedByPersonAliasId = source.ModifiedByPersonAliasId;
            this.Guid = source.Guid;
            this.ForeignId = source.ForeignId;
        }
DefinedValueEntity