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

CopyPropertiesFrom() public method

Copies the base properties from a source Location object
public CopyPropertiesFrom ( Location source ) : void
source Location The source.
return void
        public void CopyPropertiesFrom( Location source )
        {
            this.Id = source.Id;
            this.AssessorParcelId = source.AssessorParcelId;
            this.Barcode = source.Barcode;
            this.City = source.City;
            this.Country = source.Country;
            this.County = source.County;
            this.FirmRoomThreshold = source.FirmRoomThreshold;
            this.ForeignGuid = source.ForeignGuid;
            this.ForeignKey = source.ForeignKey;
            this.GeocodeAttemptedDateTime = source.GeocodeAttemptedDateTime;
            this.GeocodeAttemptedResult = source.GeocodeAttemptedResult;
            this.GeocodeAttemptedServiceType = source.GeocodeAttemptedServiceType;
            this.GeocodedDateTime = source.GeocodedDateTime;
            this.GeoFence = source.GeoFence;
            this.GeoPoint = source.GeoPoint;
            this.ImageId = source.ImageId;
            this.IsActive = source.IsActive;
            this.IsGeoPointLocked = source.IsGeoPointLocked;
            this.LocationTypeValueId = source.LocationTypeValueId;
            this.ModifiedAuditValuesAlreadyUpdated = source.ModifiedAuditValuesAlreadyUpdated;
            this.Name = source.Name;
            this.ParentLocationId = source.ParentLocationId;
            this.PostalCode = source.PostalCode;
            this.PrinterDeviceId = source.PrinterDeviceId;
            this.SoftRoomThreshold = source.SoftRoomThreshold;
            this.StandardizeAttemptedDateTime = source.StandardizeAttemptedDateTime;
            this.StandardizeAttemptedResult = source.StandardizeAttemptedResult;
            this.StandardizeAttemptedServiceType = source.StandardizeAttemptedServiceType;
            this.StandardizedDateTime = source.StandardizedDateTime;
            this.State = source.State;
            this.Street1 = source.Street1;
            this.Street2 = source.Street2;
            this.CreatedDateTime = source.CreatedDateTime;
            this.ModifiedDateTime = source.ModifiedDateTime;
            this.CreatedByPersonAliasId = source.CreatedByPersonAliasId;
            this.ModifiedByPersonAliasId = source.ModifiedByPersonAliasId;
            this.Guid = source.Guid;
            this.ForeignId = source.ForeignId;
        }
LocationEntity