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

CopyPropertiesFrom() public method

Copies the base properties from a source GroupRequirementType object
public CopyPropertiesFrom ( GroupRequirementType source ) : void
source GroupRequirementType The source.
return void
        public void CopyPropertiesFrom( GroupRequirementType source )
        {
            this.Id = source.Id;
            this.CanExpire = source.CanExpire;
            this.CheckboxLabel = source.CheckboxLabel;
            this.DataViewId = source.DataViewId;
            this.Description = source.Description;
            this.ExpireInDays = source.ExpireInDays;
            this.ForeignGuid = source.ForeignGuid;
            this.ForeignKey = source.ForeignKey;
            this.ModifiedAuditValuesAlreadyUpdated = source.ModifiedAuditValuesAlreadyUpdated;
            this.Name = source.Name;
            this.NegativeLabel = source.NegativeLabel;
            this.PositiveLabel = source.PositiveLabel;
            this.RequirementCheckType = source.RequirementCheckType;
            this.SqlExpression = source.SqlExpression;
            this.WarningDataViewId = source.WarningDataViewId;
            this.WarningLabel = source.WarningLabel;
            this.WarningSqlExpression = source.WarningSqlExpression;
            this.CreatedDateTime = source.CreatedDateTime;
            this.ModifiedDateTime = source.ModifiedDateTime;
            this.CreatedByPersonAliasId = source.CreatedByPersonAliasId;
            this.ModifiedByPersonAliasId = source.ModifiedByPersonAliasId;
            this.Guid = source.Guid;
            this.ForeignId = source.ForeignId;
        }
GroupRequirementTypeEntity