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

CopyPropertiesFrom() public method

Copies the base properties from a source PhoneNumber object
public CopyPropertiesFrom ( PhoneNumber source ) : void
source PhoneNumber The source.
return void
        public void CopyPropertiesFrom( PhoneNumber source )
        {
            this.Id = source.Id;
            this.CountryCode = source.CountryCode;
            this.Description = source.Description;
            this.Extension = source.Extension;
            this.ForeignGuid = source.ForeignGuid;
            this.ForeignKey = source.ForeignKey;
            this.IsMessagingEnabled = source.IsMessagingEnabled;
            this.IsSystem = source.IsSystem;
            this.IsUnlisted = source.IsUnlisted;
            this.ModifiedAuditValuesAlreadyUpdated = source.ModifiedAuditValuesAlreadyUpdated;
            this.Number = source.Number;
            this.NumberFormatted = source.NumberFormatted;
            this.NumberTypeValueId = source.NumberTypeValueId;
            this.PersonId = source.PersonId;
            this.CreatedDateTime = source.CreatedDateTime;
            this.ModifiedDateTime = source.ModifiedDateTime;
            this.CreatedByPersonAliasId = source.CreatedByPersonAliasId;
            this.ModifiedByPersonAliasId = source.ModifiedByPersonAliasId;
            this.Guid = source.Guid;
            this.ForeignId = source.ForeignId;
        }
PhoneNumberEntity