Click or drag to resize

DataElementAttribute Class

EDI DOM validation attribute for data elements data type. Validates X12 DT, X12 AN, X12 TM, X12 N, X12 R, EDIFACT A, EDIFACT AN, EDIFACT N Validates EDI code sets and EDI qualifiers Validates HIPAA D8 and HIPAA RD8 Alphabetic or alphanumeric types are validated only if a syntax set is provided. The available syntax sets are: EDIFACT UNOA EDIFACT UNOB X12 Basic X12 Extended
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 DataElementAttribute : ValidationAttribute

The DataElementAttribute type exposes the following members.

Constructors
  NameDescription
Public methodDataElementAttribute
Initializes a new instance of the DataElementAttribute class.
Top
Properties
  NameDescription
Public propertyCode
EDI code for the data element.
Public propertyDataType
The EDI DOM type of the data element.
Top
Methods
  NameDescription
Public methodValidateEdi
Detects if an EDI data element is valid according to its EDI DOM type.
(Overrides ValidationAttributeValidateEdi(ValidationContext).)
Top
See Also