Adf.Base.Validation.ChildValidationPolicy.ValidateChild C# (CSharp) Method

ValidateChild() private method

Validates child business entity objects. When validation fails, the implementing services are required to add validation messages to the validation manager.
private ValidateChild ( bool suppressWarnings, object value ) : void
suppressWarnings bool Decides if warnings are added in the ValidationManager.
value object The object to validate. In most cases this will be a domain /// obect or a domain collection.
return void
        private void ValidateChild(bool suppressWarnings, object value)
        {
            using (ValidationManager.CreateValidationScope(string.Empty))
            {
                Validate(value, suppressWarnings);
            }
        }
ChildValidationPolicy