How to add MAXVAL parameters on Class Definition Property DATEFL As %Date(MAXVAL = 20);
This is code not use:
S ZZ("PD")=##Class(%Dictionary.PropertyDefinition).%New(ClassName:FieldName)
D ZZ("CD").Properties.Insert(FieldName)
S ZZ("PD").Type="%String"
S ZZ("PD").Parameters="MAXLEN=10"
Return in class
Property FieldName As %String;
How to add parameters ("MAXLEN"=10")
