This namespace contains a lot of attributes for use
in, I'm sure, many different applications. I'm curious to know which
subset of the attributes in this namespace can be and are used in the
Dynamic Data proxy class system, where the entity class is given an
attribute that specifies a metadata type. That type contains properties
with the same names as properties in the entity class, and the metadata
provider builds MetaColumns using attributes on properties in these
'buddy' (proxy') classes.
So far my list includes, from System.ComponentModel.DataAnnotations:
Required, Range, DisplayFormat, StringLength, UIHint,
DataType, Regular Expression, Display Column, Editable, and CustomValidation.
And from System.ComponentModel:
DisplayName, Description, and DefaultValue.
Am I missing any?
This was originally asked by myself on StackOverflow at: http://stackoverflow.com/questions/3537356/which-componentmodel-dataannotations-attributes-are-used-in-the-dynamic-data-meta
View Complete Post