[Wish]_Property that returns length of an Entity's Attribute

[Wish]_Property that returns length of an Entity's Attribute

  
Hello,

It would be nice to have a property that would return the length of an Entity's Attribute. Something like TableA.FieldA.Length.

This way, one could avoid to hard-code field length validations like IF (Length(FieldA) > 200) in order to prevent SQL "string would be truncated"-errors, screen messages, etc.

It would also be easier to change the field length (e.g.: from 200 to 300) without having to go though all the code and replace 200 for 300.
Votes: 2
Votes = 3
Votes = 4
Votes: 5

Perhaps other meta data could be available as well (through built-in functions?). For example, "Is Mandatory".