Click or drag to resize

SeqCountAttribute Class

EDI DOM validation attribute for implied sequences. Check that the value at the specified position in each item in the list is correct. For example, in LX loops, checks that the values in the first data element, are 1, 2, 3 etc. Can only be applied to properties of generic List type.
Inheritance Hierarchy
SystemObject
  SystemAttribute
    EdiFabric.Core.Annotations.ValidationValidationAttribute
      EdiFabric.Core.Annotations.ValidationSeqCountAttribute

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

The SeqCountAttribute type exposes the following members.

Constructors
 NameDescription
Public methodSeqCountAttribute Initializes a new instance of the SeqCountAttribute class.
Top
Properties
 NameDescription
Public propertyOffset The offset to begin counting from.
Public propertyPos The zero-based position of the data element to be inspected.
Top
Methods
 NameDescription
Public methodValidateEdi Detects if an EDI data element is valid according to its repetitions.
(Overrides ValidationAttributeValidateEdi(ValidationContext))
Top
See Also