This documentation is archived and is not being maintained.
System.ComponentModel.DataAnnotations Namespace
Visual Studio 2008
Updated: July 2008
The System.ComponentModel.DataAnnotations namespace provides attribute classes that are used to define metadata for ASP.NET Dynamic Data controls.
| Class | Description | |
|---|---|---|
![]() | AssociatedMetadataTypeTypeDescriptionProvider | Extends the metadata information for a class by adding attributes and property information that is defined in an associated class. |
![]() | DataTypeAttribute | Specifies the name of an additional type to associate with a data field. |
![]() | DisplayColumnAttribute | Specifies the column that is displayed in the referred table as a foreign-key column. |
![]() | DisplayFormatAttribute | Specifies how data fields are displayed and formatted by ASP.NET Dynamic Data. |
![]() | MetadataTypeAttribute | Specifies the metadata class to associate with a data model class. |
![]() | RangeAttribute | Specifies the numeric range constraints for the value of a data field in Dynamic Data. |
![]() | RegularExpressionAttribute | Specifies that a data field value in ASP.NET Dynamic Data must match the specified regular expression. |
![]() | RequiredAttribute | Specifies that a data field value is required. |
![]() | ScaffoldColumnAttribute | Specifies whether a column is exposed by the scaffolding mechanism. |
![]() | ScaffoldTableAttribute | Specifies whether a class or data table uses scaffolding. |
![]() | StringLengthAttribute | Specifies the maximum length of characters that are allowed in a data field. |
![]() | UIHintAttribute | Specifies the template or user-defined control Dynamic Data uses to display a data field. |
![]() | ValidationAttribute | Base class for all validation attributes. |
![]() | ValidationException | Represents the exception that occurs during validation of a data field when the ValidationAttribute class is used. |
| Enumeration | Description | |
|---|---|---|
![]() | DataType | Represents an enumeration of the data types associated with data fields and parameters. |
Show:

