/// <summary> /// Copies the base properties from a source RegistrationTemplateFormField object /// </summary> /// <param name="source">The source.</param> public void CopyPropertiesFrom(RegistrationTemplateFormField source) { this.Id = source.Id; this.AttributeId = source.AttributeId; this.FieldSource = source.FieldSource; this.FieldVisibilityRulesJSON = source.FieldVisibilityRulesJSON; this.ForeignGuid = source.ForeignGuid; this.ForeignKey = source.ForeignKey; this.IsGridField = source.IsGridField; this.IsInternal = source.IsInternal; this.IsRequired = source.IsRequired; this.IsSharedValue = source.IsSharedValue; this.ModifiedAuditValuesAlreadyUpdated = source.ModifiedAuditValuesAlreadyUpdated; this.Order = source.Order; this.PersonFieldType = source.PersonFieldType; this.PostText = source.PostText; this.PreText = source.PreText; this.RegistrationTemplateFormId = source.RegistrationTemplateFormId; this.ShowCurrentValue = source.ShowCurrentValue; this.ShowOnWaitlist = source.ShowOnWaitlist; this.CreatedDateTime = source.CreatedDateTime; this.ModifiedDateTime = source.ModifiedDateTime; this.CreatedByPersonAliasId = source.CreatedByPersonAliasId; this.ModifiedByPersonAliasId = source.ModifiedByPersonAliasId; this.Guid = source.Guid; this.ForeignId = source.ForeignId; }
/// <summary> /// Copies the base properties from a source RegistrationTemplateFormField object /// </summary> /// <param name="source">The source.</param> public void CopyPropertiesFrom( RegistrationTemplateFormField source ) { this.Id = source.Id; this.AttributeId = source.AttributeId; this.FieldSource = source.FieldSource; this.ForeignGuid = source.ForeignGuid; this.ForeignKey = source.ForeignKey; this.IsGridField = source.IsGridField; this.IsInternal = source.IsInternal; this.IsRequired = source.IsRequired; this.IsSharedValue = source.IsSharedValue; this.ModifiedAuditValuesAlreadyUpdated = source.ModifiedAuditValuesAlreadyUpdated; this.Order = source.Order; this.PersonFieldType = source.PersonFieldType; this.PostText = source.PostText; this.PreText = source.PreText; this.RegistrationTemplateFormId = source.RegistrationTemplateFormId; this.ShowCurrentValue = source.ShowCurrentValue; this.CreatedDateTime = source.CreatedDateTime; this.ModifiedDateTime = source.ModifiedDateTime; this.CreatedByPersonAliasId = source.CreatedByPersonAliasId; this.ModifiedByPersonAliasId = source.ModifiedByPersonAliasId; this.Guid = source.Guid; this.ForeignId = source.ForeignId; }