Click or drag to resize

RequiredAttribute Class

EDI DOM validation attribute for mandatory items. Validates if the EDI item (EDI loop, EDI segment, EDI composite data element or EDI data element) is not null.
Inheritance Hierarchy
SystemObject
  SystemAttribute
    EdiFabric.Core.Annotations.ValidationValidationAttribute
      EdiFabric.Core.Annotations.ValidationRequiredAttribute

Namespace: EdiFabric.Core.Annotations.Validation
Assembly: EdiFabric (in EdiFabric.dll) Version: 1.0.0
Syntax
public class RequiredAttribute : ValidationAttribute

The RequiredAttribute type exposes the following members.

Constructors
 NameDescription
Public methodRequiredAttribute Initializes a new instance of the RequiredAttribute class.
Top
Methods
 NameDescription
Public methodValidateAllEdi Detects if an EDI data element is present in the EDI DOM tree.
Public methodValidateEdi Detects if an EDI data element is present in the EDI DOM tree.
(Overrides ValidationAttributeValidateEdi(ValidationContext))
Top
See Also