How to set "preferred validation framework"?
Posted: Thu 05 Jan 2012 17:20
The release notes for the latest version mention that
"You just need to select the preferred validation framework and set validation parameters, such as max value, min value, max length, min length, regular expression, or to select one of the predefined property formats. After this Entity Developer will generate validation attributes for entity properties in the generated code".
This must be obvious, but I can't find where to select it. Or else I'm doing something else wrong. I'm setting min/max lengths on the EntityProperties, but they're not being honored in my gui. However, if I manually go set the DataAnnotation attributed in ED, that works.
Also, on another note, being able to specify a friendly name and description for each EntityProperty would be very helpful, too. I'm currently doing this in DataAnnotations.
John
"You just need to select the preferred validation framework and set validation parameters, such as max value, min value, max length, min length, regular expression, or to select one of the predefined property formats. After this Entity Developer will generate validation attributes for entity properties in the generated code".
This must be obvious, but I can't find where to select it. Or else I'm doing something else wrong. I'm setting min/max lengths on the EntityProperties, but they're not being honored in my gui. However, if I manually go set the DataAnnotation attributed in ED, that works.
Also, on another note, being able to specify a friendly name and description for each EntityProperty would be very helpful, too. I'm currently doing this in DataAnnotations.
John