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

Namespace:  EdiFabric.Core.Annotations.Validation
Assembly:  EdiFabric.Core (in EdiFabric.Core.dll) Version: 1.0.0.0 (2.2.1.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 methodValidateEdi
Detects if an EDI data element is present in the EDI DOM tree.
(Overrides ValidationAttributeValidateEdi(ValidationContext).)
Top
See Also