| 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, TELCO_DT, TELCO_TM, TELCO_AN, TELCO_D, TELCO_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
TELCO Default
Inheritance Hierarchy Namespace: EdiFabric.Core.Annotations.ValidationAssembly: EdiFabric (in EdiFabric.dll) Version: 10.7.4.0
Syntax public class DataElementAttribute : ValidationAttribute
Public Class DataElementAttribute
Inherits ValidationAttribute
The DataElementAttribute type exposes the following members.
Constructors Properties | Name | Description |
---|
| Code |
EDI code for the data element.
|
| DataType |
The EDI DOM type of the data element.
|
| Syntax |
The regex to validate the data element if type is AN or A.
|
TopMethods See Also