Time to revive and old thread I guess... over the past 3 years has anyone moved forward with the Dynamic Data concept in LLBL ?
The nice thing about the Dynamic Data approach is that all this data can be used for multiple purposes and is easily managed and maintained. I can use the Required attribute both in the validation as well as use it for the views. I can add a proparty to ignore a field (which is great as LLBL add many extra properties that are not data related). I can then use this same data for validation and for displaying the error messages, or for the Field Names to display.
This is of course for the cases of the simple field validations. Now using the class approach in LLLBL it is hard to manage the validations, not possible to surface these attributes for use in display capacity.
How do you in LLBL do:
1. Change the field Name to display as a title?
2. Define which are fields to display / not display on the form
3. Range Check & validations - this would be in the class validation structure.
4. Surface Error Messages - raising exceptions.
5. Define fields that are required (indicate this in the form)
Asside: Is this something in LLBL 3.0 ?
Dynamic Data seems to be a standard that is being used within many other systems within dot-net; so it would make life easy if we could leverage these systems where possible as well with LLBL.
Thoughts?