protected override void DoValidate(Validation.ValidationResults validationResults)
        {
            base.DoValidate(validationResults);

            if (this.targetRelation.Status == SchemaObjectStatus.Normal)
            {
                ValidationResults currentResults = this.targetRelation.Validate();

                if (targetRelation.ID == targetRelation.ParentID)
                    validationResults.AddResult(new ValidationResult("关系错误,不能是自身关联的", this.targetRelation, "", "", null) { });

                foreach (ValidationResult result in currentResults)
                    validationResults.AddResult(result);
            }

            string schemaID = ((AdminUnit)this.Data).AUSchemaID;

            if (this.inputParent != null && this.inputParent.AUSchemaID != schemaID)
                validationResults.AddResult(new ValidationResult("校验父对象管理架构与子对象管理架构不同", this.Data, "AUSchemaID", "", new Validators.AUSchemaIDValidator()));
        }
		protected override void DoValidate(Validation.ValidationResults validationResults)
		{
			base.DoValidate(validationResults);

			if (this.Relation.Status == SchemaObjectStatus.Normal)
			{
				ValidationResults currentResults = this.Relation.Validate();

				foreach (ValidationResult result in currentResults)
					validationResults.AddResult(result);
			}
		}