ILSMARTANNOTATE

Applies attributes to the properties generated as a result of ILSMARTLINKAGE. It applies the System.ComponentModel.DataAnnotations.StringLengthAttribute attribute to the properties of an alphanumeric data item, and it applies the System.ComponentModel.DataAnnotations.Range attribute to the properties of a numeric item.

Restriction: This directive is supported for .NET COBOL only.

Syntax:

>>-.----.---ILSMARTANNOTATE----------><
   |    |        
   +-NO-+ 

Parameters:

None

Properties:

Default: NOILSMARTANNOTATE
IDE equivalent: None. You can specify ILSMARTANNOTATE as an additional Compiler directive under Project > Properties > COBOL

Comments:

The attribute values correspond to the COBOL data definitions; for example, a PIC X(10) results in a value of 10; a PIC 9(4) results in a permissible range of 0-9999.