/// <summary> /// Validate the object. /// </summary> /// <exception cref="Rest.ValidationException"> /// Thrown if validation fails /// </exception> public virtual void Validate() { if (LinkedService != null) { LinkedService.Validate(); } }
/// <summary> /// Validate the object. /// </summary> /// <exception cref="Rest.ValidationException"> /// Thrown if validation fails /// </exception> public override void Validate() { base.Validate(); if (Dataset != null) { Dataset.Validate(); } if (LinkedService != null) { LinkedService.Validate(); } if (SchemaLinkedService != null) { SchemaLinkedService.Validate(); } }
/// <summary> /// Validate the object. /// </summary> /// <exception cref="ValidationException"> /// Thrown if validation fails /// </exception> public virtual void Validate() { if (Name == null) { throw new ValidationException(ValidationRules.CannotBeNull, "Name"); } if (Dataset != null) { Dataset.Validate(); } if (LinkedService != null) { LinkedService.Validate(); } if (Flowlet != null) { Flowlet.Validate(); } }