Click or drag to resize

NotUsedAttribute Class

EDI DOM validation attribute for data elements marked as "Not Used". When a "Not Used" data element's value is not null, it is marked as a validation error.
Inheritance Hierarchy
SystemObject
  SystemAttribute
    EdiFabric.Core.Annotations.ValidationValidationAttribute
      EdiFabric.Core.Annotations.ValidationNotUsedAttribute

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

The NotUsedAttribute type exposes the following members.

Constructors
 NameDescription
Public methodNotUsedAttribute Initializes a new instance of the StringLengthAttribute class.
Top
Properties
 NameDescription
Public propertyErrorCode The data element error code.
Top
Methods
 NameDescription
Public methodValidateEdi Detects if an EDI data element marked as "Not Used" has a non-null value.
(Overrides ValidationAttributeValidateEdi(ValidationContext))
Top
See Also